Résumé
Python Social Auth: Login CSRF in LINE backend (LineOAuth2) — missing OAuth state validation (incomplete fix of 5.0.0 campaign)
Détails de l’avis
Impact
Applications 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.
If 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.
Patches
Workarounds
Only applications that enable the LINE backend are affected.
Credits
Thanks to Ta Duc Thien and Duc Anh Nguyen for reproting this via GitHub.
Références
- https://github.com/advisories/GHSA-526j-582w-7fm9
- 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
Vulnérabilités liées
Tout Supply chain →- HIGHCVE-2026-84312
Nginx UI: Casdoor SSO callback uses a constant `state` parameter (login CSRF)
- HIGHCVE-2026-107809
Nginx-UI AuthRequired token cookie fallback enables CSRF against management APIs
- HIGHCVE-2026-107295
Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): a website visited by the developer can trigger agent runs and server-side tool execution on the local chat endpoint
- MEDIUMCVE-2026-45161
wger: trainer_login accepts GET - CSRF bypass enables forced session rebinding
- MEDIUMCVE-2026-57177
social-auth-core has Login CSRF via Missing State Parameter in LoginRadius Backend
- MEDIUMCVE-2026-63000
REDAXO: Missing CSRF Protection on Package Update Action Allows Forced Addon Updates