CSRF in Python-Social-Auth Social-Auth-Core
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 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.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.2 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.001, 3.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/python-social-auth/social-core/security/advisories/GHSA-4pv2-52v7-vr… (vendor-advisory)
- github.com/python-social-auth/social-core/pull/2167 (issue-tracking, patch)
- github.com/python-social-auth/social-core/commit/7d9da571fc9ce8bd0003ccfcbfa8ed… (patch)
- github.com/python-social-auth/social-core/releases/tag/7.0.0 (release-notes)
- www.vulncheck.com/advisories/social-auth-core-4.7.0-before-7.0.0-login-csrf-via… (third-party-advisory)