Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. social-auth-core
  4. ›
  5. CVE-2026-62322

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

October 15, 2026

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.

References

  • github.com/advisories/GHSA-526j-582w-7fm9
  • github.com/python-social-auth/social-core/commit/5b3b90d07ebccc1f5b076445b27ea35ec059764b
  • github.com/python-social-auth/social-core/pull/1829
  • github.com/python-social-auth/social-core/releases/tag/5.0.2
  • github.com/python-social-auth/social-core/security/advisories/GHSA-526j-582w-7fm9
  • nvd.nist.gov/vuln/detail/CVE-2026-62322

Code Behaviors & Features

Detect and mitigate CVE-2026-62322 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 5.0.2

Fixed versions

  • 5.0.2

Solution

Upgrade to version 5.0.2 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

pypi/social-auth-core/CVE-2026-62322.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:53 +0000.