Vulnerability · Published Oct 15, 2026 · Assigned by GitHub_M
CVE-2026-62322Python Social Auth: Login CSRF in LINE backend (LineOAuth2) — missing OAuth state validation (incomplete fix of 5.0.0 campaign)
Medium 6.5
In plain English
A medium-severity cross-site request forgery in social-core from python-social-auth. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Python Social Auth is a social authentication/registration mechanism. Prior to 5.0.2, the LINE backend exchanges an authorization code without validating the returned OAuth state. An attacker can begin authorization for an attacker-controlled LINE account and induce a victim to visit the resulting callback URL, causing the application to log the victim into the attacker's account. When account linking is enabled, the same missing validation can link the attacker's LINE identity to the victim's existing account and create a persistent unauthorized login path. Only applications with the LINE backend enabled are affected. This issue is fixed in version 5.0.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | social-auth-core | no fix listed | DEBIAN-CVE-2026-62322 |
| Debian:13 | social-auth-core | no fix listed | DEBIAN-CVE-2026-62322 |
| Debian:14 | social-auth-core | 5.0.2-1 | DEBIAN-CVE-2026-62322 |
| PyPI | social-auth-core | 5.0.2 | GHSA-526j-582w-7fm9 |
| Ubuntu:22.04:LTS | social-auth-core | no fix listed | UBUNTU-CVE-2026-62322 |
| Ubuntu:24.04:LTS | social-auth-core | no fix listed | UBUNTU-CVE-2026-62322 |
| Ubuntu:26.04:LTS | social-auth-core | no fix listed | UBUNTU-CVE-2026-62322 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| python-social-auth | social-core | < 5.0.2 |
Weakness: CWE-352 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
References
- https://github.com/python-social-auth/social-core/security/advisories/GHSA-526j-582w-7fm9 x_refsource_CONFIRM
- https://github.com/python-social-auth/social-core/pull/1829 x_refsource_MISC
- https://github.com/python-social-auth/social-core/commit/5b3b90d07ebccc1f5b076445b27ea35ec059764b x_refsource_MISC
- https://github.com/python-social-auth/social-core/releases/tag/5.0.2 x_refsource_MISC