AploSec / Disclosures / CVE-2026-126775
Social-auth-core 4.7.0 before 7.0.0 Login CSRF via SAML RelayState
CVE-2026-126775 · published 2026-11-11
In plain words: this type of bug lets another website perform actions as a logged-in user (cross-site request forgery, CSRF). A fixed release is listed.
Summary
CVE-2026-126775 affects social-auth-core (PyPI) >= 4.7.0, < 7.0.0: SAML RelayState selects session restoration, logging a victim in as the attacker (CWE-352). Fixed in 7.0.0. CVSS 4.0 base score 2.3 (Low), assigned by VulnCheck. Published 2026-11-11 by VulnCheck. Credit: Zachariah Mithani.
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
Upgrade social-auth-core to 7.0.0 or later. Releases in the affected range (>= 4.7.0, < 7.0.0) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-11-11 CVE published
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/social-auth-core-4.7.0-before-7.0.0-login-csrf-via-saml-relaystate
- Referencehttps://github.com/python-social-auth/social-core/security/advisories/GHSA-4pv2-52v7-vrfx
- Fix pull requesthttps://github.com/python-social-auth/social-core/pull/2167
- Fix commithttps://github.com/python-social-auth/social-core/commit/7d9da571fc9ce8bd0003ccfcbfa8ed98c18bb640
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-126775
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-126775
- Severity
- Low 2.3CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- social-auth-core
- Ecosystem
- PyPI
- Affected
- >= 4.7.0, < 7.0.0
- Fixed
- 7.0.0
- Weakness
- CWE-352
- CNA
- VulnCheck
- Credit
- Zachariah Mithanifinder