Advisory

GHSA-526j-582w-7fm9

Also known as: 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

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

  • https://github.com/python-social-auth/social-core/pull/1829

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-10-15 20:09 UTC
Modified
2026-10-15 20:15 UTC

Affected packages and fixes

social-auth-core

PyPI · All systems

Affected

  • introduced 0, fixed 5.0.2 (ecosystem)

Fixed versions

5.0.2

Fix

  • Fixed version 5.0.2
    pip install --upgrade social-auth-core==5.0.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences