CVE-2026-126775
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 …
Impact
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.
An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of data being read, low risk of data or systems being changed.
Affected products · Python-social-auth
| Product | Affected versions |
|---|---|
| Social-auth-core | from 4.7.0 before 7.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/python-social-auth/social-core/security/advisories/GHSA-4pv2-52v7-vrfx
- https://github.com/python-social-auth/social-core/pull/2167
- https://github.com/python-social-auth/social-core/commit/7d9da571fc9ce8bd0003ccfcbfa8ed98c18bb640
- https://github.com/python-social-auth/social-core/releases/tag/7.0.0
- https://www.vulncheck.com/advisories/social-auth-core-4.7.0-before-7.0.0-login-csrf-via-saml-relaystate
- https://github.com/advisories/GHSA-33vc-vcr3-vj5p
- https://nvd.nist.gov/vuln/detail/CVE-2026-126775