Login CSRF in Python Social Auth LINE backend
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Tampering
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-352.
Summary
Python Social Auth before 5.0.2 has a LINE backend that exchanges authorization codes without validating the returned OAuth state, a missing check that enables a cross-site request forgery (CWE-352). A remote attacker who lures a victim to a crafted callback URL logs the victim into the attacker's LINE account. With account linking enabled, the attacker's LINE identity can be linked to the victim's account, giving persistent access. Only applications with the LINE backend enabled are affected.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| python-social-auth | social-core | before 5.0.2 | 5.0.2 | Patch available | CNA |
| — | social-auth-core (PyPI) | before 5.0.2 | 5.0.2 | Patch available | GHSA-526j-582w-7fm9 |
- social-core Vendorpython-social-auth Affected before 5.0.2 Fixed in 5.0.2 Patch available CNA
- social-auth-core (PyPI) Vendor— Affected before 5.0.2 Fixed in 5.0.2 Patch available GHSA-526j-582w-7fm9
Remediation
Upgrade social-auth-core to 5.0.2, which fixes this issue. The sources list no fixed version for social-core. The sources list no fixed version for Red Hat Ansible Automation Platform 2, and Red Hat's plan for it is none available.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA social-core (python-social-auth) Fixed in 5.0.2
- Fix · GHSA-526j-582w-7fm9 social-auth-core (PyPI) Fixed in 5.0.2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-16 Threatist record created from CVE-2026-62322
- 2026-10-16 Alias added: GHSA-526j-582w-7fm9
- 2026-10-16 Priority changed: MEDIUM → LOW
- 2026-10-16 Affected versions changed · Red Hat
- 2026-10-16 CVSS score added · Red Hat
- 2026-10-28 CISA SSVC decision points changed
References
Other 5
- https://github.com/python-social-auth/social-core/security/advisories/GHSA-526j-582w-7fm9
- https://github.com/python-social-auth/social-core/pull/1829
- https://github.com/python-social-auth/social-core/commit/5b3b90d07ebccc1f5b076445b27ea35ec059764b
- https://github.com/python-social-auth/social-core/releases/tag/5.0.2
- https://github.com/python-social-auth/social-core
More python-social-auth vulnerabilities
- TI-2026-80499 OpenID Connect nonce not bound to session in Python Social Auth CVSS 3.1MEDIUM 6.8
- TI-2025-38176 Python Social Auth - Django has unsafe account association CVSS 4.0MEDIUM 6.3
- TI-2026-41144 social-auth-core: VK App backend accepts unsigned callback data when auth_key is missing CVSS 3.1HIGH 7.4
- TI-2026-41142 social-auth-core Vulnerable to Account Takeover via Identity Binding Flaw in Vend Backend CVSS 3.1MEDIUM 6.8
- TI-2026-41141 social-auth-core has an Improper Authentication issue CVSS 3.1MEDIUM 6.4
- TI-2024-21751 social-auth-app-django Improper Handling of Case Sensitivity vulnerability CVSS 3.1MEDIUM 4.9
Sources
- CVE-2026-62322 · CVE Program
- CVE-2026-62322 · NVD
- FIRST EPSS
- GHSA-526j-582w-7fm9 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-62322 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences