Vulnerabilities in pkg:pypi/social-auth-core
PACKAGECVE-2026-62322 is a MODERATE (CVSS 6.5) login csrf vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Python Social Auth libraries in the PyPI ecosystem. The issue involves login csrf in line backend (lineoauth2) — missing oauth state validation (incomplete fix of 5.0.0 campaign). Remediation is available by upgrading affected packages to version 5.0.2.
pkg:pypi/social-auth-core
Vulnerability advisories affecting package pkg:pypi/social-auth-core. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-526j-582w-7fm9 | CVE-2026-62322 | MODERATE | Python Social Auth: Login CSRF in LINE backend (LineOAuth2) — missing OAuth state validation (incomplete fix of 5.0.0 campaign) |
| GHSA-vqg6-3fw6-j9jg | CVE-2026-57179 | MODERATE | social-auth-core has a Session Fixation issue |
| GHSA-3c93-f73f-qc9h | CVE-2026-57178 | HIGH | social-auth-core: VK App backend accepts unsigned callback data when auth_key is missing |
| GHSA-x7qq-23vw-7pfg | CVE-2026-57177 | MODERATE | social-auth-core has Login CSRF via Missing State Parameter in LoginRadius Backend |
| GHSA-fp7w-m676-w7gc | CVE-2026-57176 | MODERATE | social-auth-core Vulnerable to Account Takeover via Identity Binding Flaw in Vend Backend |
| GHSA-vq6g-g6c7-5f2j | CVE-2026-57175 | MODERATE | social-auth-core has an Improper Authentication issue |
CVE-2026-62322 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N).
How to Fix CVE-2026-62322
To remediate this vulnerability, upgrade all affected Python Social Auth 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.2
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-62322, inspect your installed packages using pip:
pip show social-auth-core
Analyze the terminal output to locate any version of Python Social Auth in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.2), 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-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Python Social Auth, 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-62322 Affected Python Social Auth Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
social-auth-core
|
PyPI |
< 5.0.2
|
5.0.2
|
References
Frequently Asked Questions
What is CVE-2026-62322?
Which Python Social Auth versions are affected?
What version fixes CVE-2026-62322?
Is social-auth-core affected?
What is the CVSS score of CVE-2026-62322?
What CWE is associated with CVE-2026-62322?
How can I check PyPI dependencies for CVE-2026-62322?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-526j-582w-7fm9",
"modified" : "2026-10-15T20:09:11Z",
"published" : "2026-10-15T20:09:11Z",
"aliases" : [ "CVE-2026-62322" ],
"summary" : "Python Social Auth: Login CSRF in LINE backend (LineOAuth2) — missing OAuth state validation (incomplete fix of 5.0.0 campaign)",
"details" : "### Impact\n\nApplications using the LINE Login backend are vulnerable to login CSRF / forced authentication. An attacker can start a LINE authorization flow for an account they control and trick a victim into visiting the callback URL with the attacker’s authorization code. Because the LINE backend did not validate the returned OAuth state, the application could accept the forged callback and log the victim in as the attacker-controlled LINE account.\n\nIf account linking is enabled, the same flaw can allow an attacker to link their LINE identity to a victim’s existing authenticated account, creating a persistent unauthorized login path.\n\n### Patches\n* https://github.com/python-social-auth/social-core/pull/1829\n\n### Workarounds\n Only applications that enable the LINE backend are affected.\n\n### Credits\n\nThanks to Ta Duc Thien and Duc Anh Nguyen for reproting this via GitHub.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "social-auth-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/python-social-auth/social-core/security/advisories/GHSA-526j-582w-7fm9"
}, {
"type" : "WEB",
"url" : "https://github.com/python-social-auth/social-core/pull/1829"
}, {
"type" : "WEB",
"url" : "https://github.com/python-social-auth/social-core/commit/5b3b90d07ebccc1f5b076445b27ea35ec059764b"
}, {
"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.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-352" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-15T20:09:11Z",
"nvd_published_at" : null
}
}