{"id":"CVE-2026-126775","summary":"Social-auth-core 4.7.0 before 7.0.0 Login CSRF via SAML RelayState","details":"Social-auth-core 4.7.0 before 7.0.0 contains a login cross-site request forgery vulnerability in the SAML backend that restores sessions named in the unsigned RelayState parameter. Attackers can deliver their own valid IdP response and RelayState to a victim's browser via an auto-submitting form, signing the victim into the attacker's account to capture entered data.","aliases":["GHSA-4pv2-52v7-vrfx"],"modified":"2026-11-13T02:47:25.844508089Z","published":"2026-11-11T18:41:07.737Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126775.json","unresolved_ranges":[{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"4.7.0"},{"fixed":"7.0.0"}],"source":"AFFECTED_FIELD"}]},{"extracted_events":[{"range":[{"introduced":"4.7.0"},{"fixed":"7.0.0"}],"source":"DESCRIPTION"}]}],"cna_assigner":"VulnCheck","cwe_ids":["CWE-352"]},"references":[{"type":"WEB","url":"https://pypi.org"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126775.json"},{"type":"ADVISORY","url":"https://github.com/python-social-auth/social-core/releases/tag/7.0.0"},{"type":"ADVISORY","url":"https://github.com/python-social-auth/social-core/security/advisories/GHSA-4pv2-52v7-vrfx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126775"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/social-auth-core-4.7.0-before-7.0.0-login-csrf-via-saml-relaystate"},{"type":"FIX","url":"https://github.com/python-social-auth/social-core/commit/7d9da571fc9ce8bd0003ccfcbfa8ed98c18bb640"},{"type":"FIX","url":"https://github.com/python-social-auth/social-core/pull/2167"},{"type":"PACKAGE","url":"https://github.com/python-social-auth/social-core"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python-social-auth/social-core","events":[{"introduced":"0"},{"fixed":"7d9da571fc9ce8bd0003ccfcbfa8ed98c18bb640"},{"fixed":"272e67201a6b6d623a7c9a24887d7041fbd21582"}],"database_specific":{"extracted_events":[{"source":"REFERENCES_COMMIT","range":[{"fixed":"7d9da571fc9ce8bd0003ccfcbfa8ed98c18bb640"}]},{"source":"REFERENCES_TAG","original_tag":"7.0.0","range":[{"fixed":"272e67201a6b6d623a7c9a24887d7041fbd21582"}]}]}}],"versions":["6.2.0","6.1.1","6.1.0","6.0.0","5.2.0","5.1.1","5.1.0","5.0.2","5.0.1","5.0.0","4.9.1","4.9.0","4.8.7","4.8.6","4.8.5","4.8.4","4.8.3","4.8.2","4.8.1","4.8.0","4.7.0","4.6.1","4.6.0","4.5.6","4.5.5","4.5.4","4.5.3","4.5.2","4.5.1","4.5.0","4.4.2","4.4.1","4.4.0","4.3.0","4.2.0","4.1.0","4.0.3","4.0.2","4.0.1","4.0.0","3.4.0","3.3.3","3.1.0","3.3.2","3.3.1","3.3.0","3.2.0","3.0.0","2.0.0","1.7.0","1.6.0","1.5.0","1.4.0","1.3.0","1.2.0","1.1.0","1.0.1","0.2.1","0.2.0","0.1.0","0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126775.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}]}