Skip to main content

social-auth-core CVE-2026-126775

| EUVDEUVD-2026-123769 LOW
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-11-11 VulnCheck GHSA-33vc-vcr3-vj5p
2.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure victim to attacker page
  2. Delivery
    Auto-submit attacker's signed SAML response + RelayState
  3. Exploit
    Callback restores session named in unsigned RelayState
  4. Execution
    Victim browser signed into attacker account
  5. Impact
    Victim-entered data captured

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the application to use the SAML backend together with a session-restoring strategy (the feature introduced in 4.7.0), such as the social-app-django integration; deployments without session restoration are not affected. The attacker must possess a valid account at a configured trusted identity provider to generate a genuine signed SAML response, and the victim's browser must be anonymous or logged out and must load the attacker's auto-submitting form (the UI:P / passive-interaction requirement). Limiting factors: this is a login-CSRF into the attacker's own account (data-capture), not a victim account takeover - the vendor confirmed an authenticated victim was rejected with user_mismatch and did not demonstrate takeover or association; the condition is further bounded by the non-default session-restoring configuration and the need for IdP credentials. Complete remediation is to upgrade to social-auth-core 7.0.0 with a compatible framework integration (in-progress SAML logins must restart); the only stated workaround is disabling SAML authentication until patched, and the vendor notes disabling authenticated account association alone does not address the anonymous-browser login CSRF.

Impact

All signals point to a genuinely low-priority issue. The vendor CVSS 4.0 base score is 2.3 with vector AV:N/AC:L/AT:P/PR:N/UI:P and only Low confidentiality/integrity impact (VC:L/VI:L, VA:N, no scope change), and the vuln.today Decision label is 'monitor' - the softest urgency tier, not act_now or emergency. There is no CISA KEV listing and no EPSS value supplied, so neither active-exploitation nor statistical-probability signals elevate this; exploitation status is best described as no public exploit identified at time of analysis (the available references are the GHSA advisory, the fix PR/commit, and the 7.0.0 release - not weaponized exploit code). The one nuance worth flagging: although PR:N marks the flow as unauthenticated against the target app, this is a login CSRF, so the attacker must hold a valid account at a configured trusted IdP and the deployment must use the SAML backend with a session-restoring strategy - a conditional, non-default scenario captured by AT:P/UI:P. The advisory itself notes the behavior was confirmed only on 6.2.0 via an emulated Django strategy and real signed SAML responses; end-to-end Django exploitation was not tested, and an authenticated victim was rejected with user_mismatch, so account takeover was explicitly not demonstrated. Net: a real but low-severity design weakness that warrants patching on a normal maintenance cadence, not emergency response.

Exploit ScenarioDerived

An attacker who holds an account at a trusted identity provider initiates a SAML login, captures their own valid signed IdP response and RelayState, and embeds them in an auto-submitting HTML form hosted on a page the victim visits. The victim's anonymous browser silently POSTs the attacker's assertion to the application's SAML callback and is logged into the attacker's account, so any data the victim subsequently enters is recorded under the attacker's profile. No public working exploit code is identified; the vendor reports confirming the underlying behavior on social-auth-core 6.2.0 using real signed responses and an emulated Django strategy.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 11, 2026

Login cross-site request forgery in the SAML backend of social-auth-core 4.7.0 through 6.2.0 lets an attacker who holds any account at a configured trusted identity provider push a genuinely signed SAML response plus an unsigned RelayState into a victim's browser via an auto-submitting form, silently signing the anonymous or logged-out victim into the attacker's account so that data the victim later enters is captured. Signature and InResponseTo checks pass because the backend correlates the response against a pending AuthnRequest selected from RelayState rather than against the receiving browser's own session, so only deployments using a session-restoring strategy (including the Django integration) are exposed; the vendor confirmed an already-authenticated victim is rejected with user_mismatch and did not demonstrate victim account takeover or account association. Severity is low (CVSS 2.3 per the v4 vector; independently assessed as CVSS 3.1 AV:N/AC:H/PR:N/UI:R with limited confidentiality and integrity impact), no public exploit code has been identified at time of analysis, and the issue is fixed in 7.0.0.

RemediationAI

Upgrade to social-auth-core 7.0.0 together with a compatible framework integration (for Django, the corresponding social-app-django change referenced from GHSA-4pv2-52v7-vrfx), and plan for disruption: in-progress SAML logins must restart after the upgrade because callbacks are now bound to the initiating browser's pending AuthnRequest, and any custom strategy or backend that used the removed session-restoration methods or the session identifier constant must be migrated to browser-bound correlation. Where an immediate upgrade is not possible, the vendor's only stated workaround is to disable SAML authentication entirely until the patched core and a compatible integration can be deployed; the advisory explicitly notes that disabling authenticated account association alone does not address the anonymous-browser login CSRF. Operators who later enable the new opt-in IdP-initiated SAML login should keep it disabled if login-CSRF protection is required, since unsolicited signed responses have no initiating browser request to correlate. Advisory, fix commit and release references: 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 and https://github.com/python-social-auth/social-core/releases/tag/7.0.0.

Affected VersionsENISA

social-auth-core 4.7.0 <7.0.0

Affected Packages

euvd social_auth_core fix: 7.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-352 (cross-site request forgery) applied to the SAML authentication callback in python-social-auth's core library. social-auth-core 4.7.0 introduced a strategy-level session-restoration feature (the psa_session_id constant and related strategy methods) that allowed a backend to recover a previously stored session by identifier carried in the request. In the SAML backend this meant the response was matched to a pending AuthnRequest belonging to the session named in the RelayState parameter, which RelayState does not sign; an attacker with IdP-side credentials can therefore supply a valid, properly signed assertion captured or generated in their own flow together with a RelayState pointing at that flow's session, and the correlation check succeeds even though the victim's browser never initiated the login. The signature and InResponseTo validation only prove the assertion is genuine and matches some pending request, not that the browser receiving it owns that request. social-auth-core 7.0.0 replaces session restoration with browser-bound callback correlation: SAML responses are matched to the initiating browser's pending AuthnRequest, an IdP-initiated login path now requires explicit opt-in (and, per the project's threat model, must stay disabled where login-CSRF protection is required), a protected same-origin return page supports SameSite=Lax cookies across framework integrations, and similar session-restoration logic was removed from the OpenID backend. Custom strategies or backends that relied on the removed strategy session-restoration methods and session identifier constant must migrate to browser-bound correlation.

Know when Social Auth Core gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 4.2 MEDIUM

Network-delivered but needs a non-default session-restoring config plus attacker IdP credentials (AC:H) and victim form submission (UI:R); PR:N as no target-app privilege is used; low C/I from attacker-account data capture, no availability impact.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
popular Python/Django auth library, but SAML session-restoring strategy is a narrower subset
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy