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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-10-15T18:45:06.452Z
- Modified: 2026-10-28T20:18:28.530Z
- Also known as: GHSA-526j-582w-7fm9
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- python-social-auth social-core: < 5.0.2
- social-auth-core (PyPI): before 5.0.2

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `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> (web)
- <https://github.com/python-social-auth/social-core/pull/1829> (web)
- <https://github.com/python-social-auth/social-core/commit/5b3b90d07ebccc1f5b076445b27ea35ec059764b> (web)
- <https://github.com/python-social-auth/social-core/releases/tag/5.0.2> (web)
- <https://github.com/python-social-auth/social-core> (package)

## Sources

- CVE List: [CVE-2026-62322](https://www.cve.org/CVERecord?id=CVE-2026-62322), CVE Terms of Use, modified 2026-10-28
- GitHub Advisory Database: [GHSA-526j-582w-7fm9](https://github.com/advisories/GHSA-526j-582w-7fm9), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2026-62322](https://nvd.nist.gov/vuln/detail/CVE-2026-62322), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2026-62322 · Whole record: https://cve.day/CVE-2026-62322.json · Rebuilt by cve.day 2026-11-25T22:59:44.957Z
