Authentication Bypass by Alternate Name Affecting social-auth-core package, versions [,5.0.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-SOCIALAUTHCORE-20158375
  • published27 Sept 2026
  • disclosed24 Sept 2026
  • creditUnknown

Introduced: 24 Sep 2026

NewCVE-2026-57176  (opens in a new tab)
CWE-289  (opens in a new tab)

How to fix?

Upgrade social-auth-core to version 5.0.0 or higher.

Overview

social-auth-core is a package that makes Python social authentication simple.

Affected versions of this package are vulnerable to Authentication Bypass by Alternate Name via the get_user_id method in the Vend OAuth2 backend (social_core/backends/vend.py), where user identifiers are scoped only to a shop-local numeric ID rather than being namespaced by the shop's domain_prefix. Because two different Vend shops can issue the same numeric user ID, an attacker who controls an account on one shop can authenticate as an unrelated user on a different shop that shares the same numeric ID, bypassing account isolation and gaining full access to that user's account.

CVSS Base Scores

version 4.0
version 3.1