# CVE-2026-126775: Social-auth-core 4.7.0 before 7.0.0 Login CSRF via SAML RelayState

Status: published. Published: 2026-11-11. Updated: 2026-11-11.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulnCheck) — https://github.com/python-social-auth/social-core/pull/2167
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulnCheck) — https://github.com/python-social-auth/social-core/commit/7d9da571fc9ce8bd0003ccfcbfa8ed98c18bb640

## Affected products and versions

- python-social-auth / social-auth-core (social-auth-core): ≥ 4.7.0; < 7.0.0 (affected, semver); 7.0.0 (unaffected, semver). Source: CNA: VulnCheck

## Severity and prioritization

- CVSS 4.0: 2.3 (low); 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; source: CNA: VulnCheck

- CVSS 3.1: 4.2 (medium); CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N; source: CNA: VulnCheck

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-352

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/python-social-auth/social-core/security/advisories/GHSA-4pv2-52v7-vrfx (CNA: VulnCheck; vendor-advisory)

- https://github.com/python-social-auth/social-core/pull/2167 (CNA: VulnCheck; patch, issue-tracking)

- https://github.com/python-social-auth/social-core/commit/7d9da571fc9ce8bd0003ccfcbfa8ed98c18bb640 (CNA: VulnCheck; patch)

- https://github.com/python-social-auth/social-core/releases/tag/7.0.0 (CNA: VulnCheck; release-notes)

- https://www.vulncheck.com/advisories/social-auth-core-4.7.0-before-7.0.0-login-csrf-via-saml-relaystate (CNA: VulnCheck; third-party-advisory)

## Provenance

- CNA: VulnCheck: https://www.cve.org/CVERecord?id=CVE-2026-126775; retrieved 2026-11-11; source updated 2026-11-11

Revision: 2c5ea4d60bcf291a3f377a6dcc1976f2aaf0dd297e4754725913d06fb8571eeb

Canonical: https://y2.dev/cve/CVE-2026-126775

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.