Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-62322 EUVD-2026-102323GHSA-526j-582w-7fm9

Python Social Auth: Login CSRF in LINE backend (LineOAuth2) — missing OAuth state validation (incomplete fix of 5.0.0 campaign)

Published Oct 15, 2026 · Updated Oct 28, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
python-social-auth social-core < 5.0.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 social-auth-core 5.0.2-1 —
Debian 13 social-auth-core No fix yet —
Debian 12 social-auth-core No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS social-auth-core No fix yet —
Ubuntu 24.04 LTS social-auth-core No fix yet —
Ubuntu 22.04 LTS social-auth-core No fix yet —
Ubuntu 20.04 LTS social-auth-core No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI social-auth-core < 5.0.2 5.0.2 GHSA-526j-582w-7fm9

References