{"schema":"threatline.record/2","record":{"id":"CVE-2026-57175","aliases":["GHSA-vq6g-g6c7-5f2j","PYSEC-2026-4167"],"summary":"social-auth-core has an Improper Authentication issue","details":"### Impact\n\nThe SAML backend accepted SAML responses on the Assertion Consumer Service endpoint without verifying that they matched a previously issued `AuthnRequest`.\n\nApplications using SAML account association could allow an attacker with a valid account on a trusted IdP to link the attacker's SAML identity to a logged-in victim's local account. The attacker could then authenticate through SAML and gain access to the victim's account.\n\nThe issue affects applications using the SAML backend together with authenticated account association.\n\n### Patches\n\nThe issue has been fixed by validating SAML responses against stored `AuthnRequest` IDs.\n\nUsers should upgrade to a patched version.\n\nFix:\n\n* https://github.com/python-social-auth/social-core/pull/1794\n\n### Workarounds\n\nApplications that cannot upgrade immediately should disable SAML account association for already authenticated users.\n\nIf SAML login is not required, the SAML backend can also be disabled by removing it from `SOCIAL_AUTH_AUTHENTICATION_BACKENDS`.\n\nThere is no complete workaround while continuing to allow vulnerable SAML account association.\n\n### Credits\n\nReported through GitHub private vulnerability reporting by Liyi Zhou, Ziyue Wang, Strick, Maurice, and Chenchen Yu from the University of Sydney security research team.\n\nReporter references:\n\n* https://lzhou1110.github.io/\n* https://zyy0530.github.io/\n* https://str1ckl4nd.github.io/\n* https://maurice.busystar.org/\n* https://7thparkk.github.io/","categories":["Runtimes & languages"],"product":"social-auth-core","vendor":"python-social-auth","ecosystem":"pip","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-vq6g-g6c7-5f2j","source_modified_at":"2026-09-24T19:54:49Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"pip","name":"social-auth-core"},"range":"< 5.0.0"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-57175","source_modified_at":"2026-10-05T15:33:16.020Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"social-core","vendor":"python-social-auth","versions":[{"version":"< 5.0.0","status":"affected"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-vq6g-g6c7-5f2j","source_modified_at":"2026-10-01T17:56:22.305416381Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"PyPI","name":"social-auth-core","purl":"pkg:pypi/social-auth-core"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"5.0.0"}],"type":"ECOSYSTEM"}],"versions":["0.0.1","0.1.0","0.2.0","0.2.1","1.0.0","1.0.1","1.1.0","1.2.0","1.3.0","1.4.0","1.5.0","1.6.0","1.7.0","2.0.0","3.0.0","3.1.0","3.2.0","3.3.0","3.3.1","3.3.2","3.3.3","3.4.0","4.0.2","4.0.3","4.1.0","4.2.0","4.3.0","4.4.0","4.4.1","4.4.2","4.5.0","4.5.1","4.5.2","4.5.3","4.5.4","4.5.5","4.5.6","4.6.0","4.6.1","4.7.0","4.8.0","4.8.1","4.8.2","4.8.3","4.8.4","4.8.5","4.8.6","4.8.7","4.9.0","4.9.1"]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-vq6g-g6c7-5f2j","source_modified_at":"2026-09-24T19:54:49Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"pip","name":"social-auth-core"},"version":"5.0.0"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-vq6g-g6c7-5f2j","source_modified_at":"2026-10-01T17:56:22.305416381Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"PyPI","name":"social-auth-core","purl":"pkg:pypi/social-auth-core"},"version":"5.0.0"}],"cvss":6.4,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00228,"percentile":0.12807,"score_date":"2026-10-23"},"published_at":"2026-09-24T17:11:49.925Z","modified_at":"2026-10-05T15:33:16.020Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-vq6g-g6c7-5f2j","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-09-24T19:54:49Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-57175","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-05T15:33:16.020Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-vq6g-g6c7-5f2j","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-01T17:56:22.305416381Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-57175","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/python-social-auth/social-core/security/advisories/GHSA-vq6g-g6c7-5f2j","tags":["x_refsource_CONFIRM"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57175","source":"GitHub Advisory Database"},{"url":"https://github.com/python-social-auth/social-core/pull/1794","source":"GitHub Advisory Database"},{"url":"https://github.com/python-social-auth/social-core/commit/5c72f71125bc60e4411f09e2a9f998de5da7fcb6","source":"GitHub Advisory Database"},{"url":"https://github.com/python-social-auth/social-core/releases/tag/5.0.0","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-vq6g-g6c7-5f2j","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","assessed_at":"2026-10-05T14:53:05.460192Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"vendor and product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-05T15:33:16.020Z","content_hash":"d39c8255f6c6a4c788f0c18a658477e4de777e568f05dae481141c67b741e0ba"}}
