Skip to main content

Python Social Auth CVE-2026-57176

| EUVDEUVD-2026-86310 MEDIUM
Authentication Bypass by Alternate Name (CWE-289)
2026-09-24 GitHub_M GHSA-fp7w-m676-w7gc
6.8
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 Vend account on second shop
  2. Delivery
    Authenticate to app via Vend OAuth2
  3. Exploit
    Numeric user_id collides in social-auth association table
  4. Execution
    Session bound to victim's pre-existing local account
  5. Impact
    Access victim account data and privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Alternate name authentication
Exploitation Conditions

Exploitation requires the target application to use the Vend OAuth2 backend of python-social-auth AND to authenticate users from more than one Vend shop through the same application instance. The attacker must possess a valid Vend account whose internal numeric user_id collides with that of a pre-existing local account associated to a user from a different shop. Applications using a single Vend shop, or not using the Vend backend at all, are unaffected. Limiting factors: attacker needs a legitimate authenticated Vend identity (PR:L), the numeric-ID collision across shops is not attacker-controlled and may be uncommon (AC:H), and no user interaction from the victim is required (UI:N).

Impact

This is a genuine but conditional identity-collision flaw (CWE-289) rated CVSS 6.8 (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N). The high-impact metrics (C:H/I:H) are justified because a successful collision authenticates one user as another user's local account - effectively account takeover - but AC:H and PR:L correctly capture that this is far from trivial: the attacker needs a valid Vend account, the target application must integrate multiple Vend shops through the Vend OAuth2 backend, and two users across different shops must happen to share the same internal numeric Vend user_id. There is no EPSS score, no CISA KEV listing, and no public POC in the provided data, so there is no evidence of active exploitation or automated weaponization - this is a design/logic bug with no public exploit identified at time of analysis. Net: a real correctness/authentication priority for the specific minority of deployments that use the Vend backend with more than one shop, but low urgency for the broad social-core user base, since most installations do not use this backend at all. No signals conflict; the CVSS network vector is consistent with an OAuth2 login flow.

Exploit ScenarioDerived

An application uses python-social-auth's Vend OAuth2 backend and connects to two or more Vend shops. A user in shop B whose internal numeric Vend user_id matches that of an existing user in shop A logs in via Vend OAuth2; because the social-auth UID is only the numeric user_id (not scoped per shop), the login resolves to the association already stored for shop A's user, logging the shop-B user into the shop-A user's local account. No public exploit code is available, and the collision depends on matching numeric IDs across shops (AC:H).

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

Account impersonation in Python Social Auth (social-core) before version 5.0.0 allows an authenticated Vend user from one shop to be authenticated as a pre-existing local account that was linked to a user from a different shop sharing the same numeric Vend user_id. Only applications that use the Vend OAuth2 backend and authenticate users from more than one Vend shop are affected; the numeric-ID collision is not attacker-controlled and may be uncommon, but successful exploitation yields full compromise of the colliding local account (CVSS 6.8, AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N) with no victim interaction required. No public exploit identified at time of analysis.

RemediationAI

Upgrade python-social-auth/social-core to 5.0.0, which scopes the Vend social-auth UID so identities from different shops cannot collide (Vendor-released patch: 5.0.0; advisory GHSA-fp7w-m676-w7gc at https://github.com/python-social-auth/social-core/security/advisories/GHSA-fp7w-m676-w7gc). If immediate upgrade is not possible, the most effective compensating control is to avoid authenticating users from more than one Vend shop in a single application instance, for example by deploying separate application instances with separate social-auth association tables per Vend shop; this removes the cross-shop collision path but adds operational overhead and does not help any deployment that must share one shop namespace. As a custom-code alternative, override the Vend backend's UID construction to incorporate a shop-scoped value and re-map existing associations, but this change must be reviewed carefully because it can break existing linked accounts, and there is no vendor-provided configuration toggle that eliminates the collision risk for a multi-shop deployment.

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

python-social-auth's social-core library maps external OAuth2 identities to local accounts by persisting a UID in the social-auth association table. The Vend OAuth2 backend built that UID solely from the numeric Vend user_id, which is unique only within a single Vend shop rather than globally. When one application instance authenticates users from multiple Vend shops, users from different shops that happen to share the same internal numeric ID generate identical UIDs, so the association table resolves the login to whichever local account was linked first. This is CWE-289 (Authentication Bypass by Alternate Name): the non-globally-unique numeric identifier acts as an alternate name, causing the identity lookup to select the wrong principal. The CPE cpe:2.3:a:python-social-auth:social-core:*:*:*:*:*:*:*:* covers all social-core releases prior to the 5.0.0 fix, which scopes the UID so identities from distinct shops cannot collide. The assessed vector AV:N/AC:H/PR:L/UI:N with C:H/I:H reflects remote exploitation by an authenticated Vend user under a non-trivial collision precondition and without victim interaction.

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.8 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 6.8 MEDIUM

Network OAuth2 login (AV:N); attacker needs a valid Vend account (PR:L) and an uncontrolled cross-shop numeric-ID collision (AC:H); full account takeover yields C:H/I:H, no availability impact.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
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 Vend OAuth2 backend used only the numeric Vend user_id as the social-auth UID. When multiple Vend shops authenticate through the same application, users from different shops with the same internal Vend user ID could collide in the social-auth association table. A user from one shop could then be authenticated as the local account previously associated with the same numeric user ID from another shop. The issue affects applications using the Vend OAuth2 backend with more than one Vend shop. Version 5.0.0 patches the issue.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
popular Python social-auth library, but vulnerable Vend OAuth2 multi-shop backend is niche
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS GHSA Vendor GitHub VulDB

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

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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