CVE-2026-57176: Social auth core Social-auth-core Vulnerable To Account Takeover Vulnerability
MODERATECVE-2026-57176 is a MODERATE (CVSS 6.8) social-auth-core vulnerable to account takeover vulnerability (CWE-289: Authentication Bypass by Alternate Name) affecting Social auth core libraries in the PyPI ecosystem. The issue involves social-auth-core vulnerable to account takeover via identity binding flaw in vend backend. Remediation is available by upgrading affected packages to version 5.0.0.
CVE-2026-57176 at a Glance
Security Impact
CVSS: 6.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2026-57176
To remediate this vulnerability, upgrade all affected Social auth core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install social-auth-core>=5.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show social-auth-core
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-57176, inspect your installed packages using pip:
pip show social-auth-core
Analyze the terminal output to locate any version of Social auth core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.0), your application is affected.
Note: The pip show social-auth-core command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-289: Authentication Bypass by Alternate Name, where the product performs authentication based on the name of a resource being accessed, or the name of the actor performing the access, but it does not properly check all possible names for that resource or actor. In Social auth core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-57176 Affected Social auth core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
social-auth-core
|
PyPI |
< 5.0.0
|
5.0.0
|
References
Frequently Asked Questions
What is CVE-2026-57176?
Which Social auth core versions are affected?
What version fixes CVE-2026-57176?
Is social-auth-core affected?
What is the CVSS score of CVE-2026-57176?
What CWE is associated with CVE-2026-57176?
How can I check PyPI dependencies for CVE-2026-57176?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fp7w-m676-w7gc",
"modified" : "2026-09-24T19:55:58Z",
"published" : "2026-09-24T19:55:57Z",
"aliases" : [ "CVE-2026-57176" ],
"summary" : "social-auth-core Vulnerable to Account Takeover via Identity Binding Flaw in Vend Backend",
"details" : "### Impact\n\nThe Vend OAuth2 backend used only the numeric Vend `user_id` as the social-auth UID.\n\nWhen 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.\n\nThe issue affects applications using the Vend OAuth2 backend with more than one Vend shop.\n\n### Patches\n\nThe issue has been fixed by scoping Vend social-auth UIDs by shop.\n\nUsers should upgrade to a patched version.\n\nFix:\n\n* https://github.com/python-social-auth/social-core/pull/1795\n\n### Workarounds\n\nApplications that cannot upgrade immediately should restrict the Vend OAuth2 backend to a single trusted Vend shop.\n\nIf Vend authentication is not required, the Vend backend can also be disabled by removing it from `SOCIAL_AUTH_AUTHENTICATION_BACKENDS`.\n\nThere is no complete workaround while continuing to allow authentication from multiple Vend shops with the vulnerable backend.\n\n### Credits\n\nReported through GitHub private vulnerability reporting by Liyi Zhou, Ziyue Wang, Strick, Maurice, and Chenchen Yu from the University of Sydney security research team.\n\nReporter references:\n\n* https://lzhou1110.github.io/\n* https://zyy0530.github.io/\n* https://str1ckl4nd.github.io/\n* https://maurice.busystar.org/\n* https://7thparkk.github.io/",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "social-auth-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/python-social-auth/social-core/security/advisories/GHSA-fp7w-m676-w7gc"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-57176"
}, {
"type" : "WEB",
"url" : "https://github.com/python-social-auth/social-core/pull/1795"
}, {
"type" : "WEB",
"url" : "https://github.com/python-social-auth/social-core/commit/dee7ad1785877afd355dd6860598823d2631b76e"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/python-social-auth/social-core"
}, {
"type" : "WEB",
"url" : "https://github.com/python-social-auth/social-core/releases/tag/5.0.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-289" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-24T19:55:57Z",
"nvd_published_at" : "2026-09-24T18:17:14Z"
}
}