CVE-2026-126775 json
Social-auth-core 4.7.0 before 7.0.0 Login CSRF via SAML RelayState
published 2d ago modified 15h ago also GHSA-4pv2-52v7-vrfx , EUVD-2026-123769
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository python-social-auth/social-core. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 4.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no EPSS score yet
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi social-auth-core 7.0.0
- python-social-auth social-auth-core 7.0.0
Is CVE-2026-126775 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 2.3 | 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 |
| CNA | 3.1 | 4.2 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |
| CNA | 4.0 | 2.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 4.2 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | social-auth-core | >=4.7.0, <7.0.0 |
7.0.0 |
Affected products
- python-social-auth social-auth-core
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
References
-
github.com
/python-social-auth/social-core/pull/2167
patch, issue-tracking
-
github.com
/python-social-auth/social-core/commit/7d9da571fc9ce8bd0003ccfcbfa8ed98c18bb640
patch
-
github.com
/python-social-auth/social-core/security/advisories/GHSA-4pv2-52v7-vrfx
vendor-advisory, advisory
-
github.com
/python-social-auth/social-core/releases/tag/7.0.0
release-notes
-
vulncheck.com
/advisories/social-auth-core-4.7.0-before-7.0.0-login-csrf-via-saml-relaystate
third-party-advisory
Sources
- CVE List CVE-2026-126775
- NVD CVE-2026-126775
- Maintainer advisory GHSA-4pv2-52v7-vrfx
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of python-social-auth/social-core published their own advisory on GitHub. Reviewed sources take precedence over it.