Skip to main content

Python Social Auth CVE-2026-57175

| EUVDEUVD-2026-86309 MEDIUM
Improper Authentication (CWE-287)
2026-09-24 GitHub_M GHSA-vq6g-g6c7-5f2j
6.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid account on trusted IdP
  2. Delivery
    Drive logged-in victim into account-association flow
  3. Exploit
    Submit unsolicited SAML response to ACS endpoint
  4. Execution
    Attacker SAML identity linked to victim account
  5. Impact
    Authenticate via SAML to take over victim account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

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

Exploitation Conditions

Exploitable only against applications that use the python-social-auth SAML backend AND enable authenticated account association (linking a SAML identity to an already logged-in local account); the vulnerable code path is the Assertion Consumer Service endpoint accepting SAML responses without matching them to a previously issued AuthnRequest (missing InResponseTo/stored-ID check). Limiting factors: the attacker must already possess a valid account on an IdP the target trusts (PR:L), a victim must be logged in and be driven through the association flow (UI:R), and the forged/unsolicited response must be timed to that session (AC:H). Deployments not using the SAML backend, or using SAML without the account-association feature, are unaffected; upgrading to social-core 5.0.0 enforces AuthnRequest-ID validation.

Impact

This is a genuine but conditional integrity/authentication flaw rather than a mass-exploitable emergency. The CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N, base 6.4) captures the tension well: the impact is high (full takeover of a victim's application account, C:H/I:H) but the preconditions are demanding - AC:H (attacker must interleave a forged/unsolicited SAML response with the victim's live association session), PR:L (attacker needs a valid account on a trusted IdP), and UI:R (a logged-in victim must be driven through the account-association flow). No EPSS score, no CISA KEV listing, and no public exploit are present in the supplied data, so exploitation status is 'no public exploit identified at time of analysis.' There is no SSVC decision record provided. Net: a real priority for the specific population of applications that use the SAML backend together with authenticated account association, but not a broad-blast internet-scannable bug - the high CVSS impact is offset by AC:H and the narrow configuration dependency. One caveat to verify: PR:L reflects a privilege held on the trusted IdP, not on the vulnerable application itself, so defenders should treat the 'authenticated' qualifier as 'attacker holds a valid federated identity,' not 'attacker has an account on the target app.'

Exploit ScenarioDerived

An attacker who holds a legitimate account on an IdP that the target application already trusts initiates the SAML account-association flow while a victim is logged in, then submits an unsolicited SAML response to the Assertion Consumer Service endpoint; because the response is not checked against a stored AuthnRequest ID, the attacker's SAML identity is bound to the victim's local account. The attacker subsequently logs in through SAML and lands directly in the victim's account. No public proof-of-concept is identified at the time of analysis, and the high attack complexity (AC:H) reflects the need to coordinate the forged response with the victim's authenticated association session.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 24, 2026

SAML account association in python-social-auth (social-core) before 5.0.0 lets an attacker who already holds a valid account on an identity provider trusted by the target application link that SAML identity to a logged-in victim's local account, after which the attacker can authenticate through SAML and access the victim's account. The flaw only reaches deployments that use the SAML backend and enable authenticated account association, and it requires the victim to be logged in and driven through the association flow while the unsolicited SAML response is timed to that session, which is why the assessed vector is network-reachable but high-complexity with user interaction (CVSS:3.1/AV:N/AC:H/PR:L/UI:R, base 6.4). This is a conditional integrity and authentication problem rather than a mass-exploitable emergency; no public exploit identified at time of analysis, and version 5.0.0 resolves it by validating SAML responses against stored AuthnRequest IDs.

RemediationAI

Upgrade social-core to version 5.0.0 or later (vendor-released patch: 5.0.0), which fixes the flaw by validating each SAML response against the stored AuthnRequest IDs before processing it; this is the only remediation that preserves the account-association feature intact. Where an immediate upgrade is not possible, disable authenticated account association in the SAML backend so that SAML logins can no longer be linked automatically to an existing logged-in session - the trade-off is that legitimate users cannot self-service link a social identity to an existing local account and will need an administrator or an out-of-band verification step to do so. A narrower compensating control is to require users to re-authenticate locally at the start of any account-linking flow rather than relying on an ambient session, which reduces the window in which a victim can be walked through the association step but does not fix the underlying missing InResponseTo/stored-ID check. Detection-wise, log and alert on SAML responses received at the ACS endpoint that carry no InResponseTo value or an InResponseTo that does not correspond to an outstanding AuthnRequest, since those are the fingerprints of this attack. Consult the vendor advisory at https://github.com/python-social-auth/social-core/security/advisories/GHSA-vq6g-g6c7-5f2j for the authoritative fix details and any backported releases.

Affected VersionsENISA

social-core < 5.0.0

Affected Packages

pypi social-auth-core fix: 5.0.0
euvd social_core fix: 5.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

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

Technical ContextAI · show details

The vulnerable component is the SAML backend of social-core, the shared library underpinning Python Social Auth. In the SAML Web Browser SSO profile, a service provider (SP) generates an AuthnRequest containing a unique ID and must, when processing the resulting assertion at its Assertion Consumer Service (ACS) endpoint, confirm that the response's InResponseTo attribute matches a previously issued, still-pending AuthnRequest ID. Prior to 5.0.0 the backend accepted SAML responses at the ACS endpoint without performing that correlation, so an unsolicited or replayed response would be processed as if it answered a legitimate login or association request. The root cause maps to CWE-287 (Improper Authentication): the application fails to bind an authentication assertion to the session that requested it, breaking the request/response pairing that SAML relies on for anti-replay and anti-injection guarantees. The CVSS vector confirms the practical shape of the attack: PR:L because the adversary needs a pre-existing account at an IdP the target trusts, UI:R because a victim must be logged in and walked through the account-association flow, and AC:H because the forged or unsolicited response must be delivered and accepted within that specific session window. Confidentiality and integrity impacts are both High, while availability is untouched.

Know when Python 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 (GitHub_M) PRIMARY 6.4 MEDIUM
AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
vuln.today AI 6.4 MEDIUM

Network-facing SAML endpoint (AV:N); AC:H and UI:R because a forged response must be interleaved with a logged-in victim's association flow; PR:L for the required trusted-IdP account; full account takeover gives C:H/I:H, no availability impact.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

1
Patch available
Sep 24, 2026 - 18:02 EUVD

DescriptionCVE.org

Python Social Auth is a social authentication/registration mechanism. Prior to version 5.0.0, the SAML backend accepted SAML responses on the Assertion Consumer Service endpoint without verifying that they matched a previously issued AuthnRequest. Applications using SAML account association could allow an attacker with a valid account on a trusted IdP to link the attacker's SAML identity to a logged-in victim's local account. The attacker could then authenticate through SAML and gain access to the victim's account. The issue affects applications using the SAML backend together with authenticated account association. The issue has been fixed in version 5.0.0 by validating SAML responses against stored AuthnRequest IDs.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
widely used Python social-auth library, but only SAML-backend + account-association deployments affected
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Vendor StatusVendor

SUSE

Severity: Moderate

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