Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| python-social-auth | social-auth-core | 4.7.0 – < 7.0.0 | 7.0.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | social-auth-core | No fix yet | — |
| Ubuntu 26.04 LTS | social-auth-core | No fix yet | — |
| Ubuntu 24.04 LTS | social-auth-core | No fix yet | — |
| Ubuntu 22.04 LTS | social-auth-core | No fix yet | — |
| Ubuntu 20.04 LTS | social-auth-core | No fix yet | — |
References
- GitHub Security Advisory (GHSA-4pv2-52v7-vrfx) vendor-advisory
- https://github.com/python-social-auth/social-core/pull/2167 patch issue-tracking
- https://github.com/python-social-auth/social-core/commit/7d9da571fc9ce8bd0003ccfcbfa8ed98c18bb640 patch
- social-auth-core 7.0.0 Release Notes release-notes
- VulnCheck Advisory: Social-auth-core 4.7.0 before 7.0.0 Login CSRF via SAML RelayState third-party-advisory