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.
Published: 2026-10-15
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized account access via CSRF in LINE login
Action: Patch
AI Analysis

Impact

Python Social Auth’s LINE backend accepts an authorization code without verifying the returned OAuth state, creating a cross‑site request forgery condition (CWE‑352) and a mismatch of untrusted input (CWE‑358). An attacker can initiate a social login flow from a malicious LINE account and lure a victim to the crafted callback URL, resulting in the victim’s browser authenticating with the attacker’s account. If account linking is enabled, the same flaw can persist the attacker’s identity on the victim’s existing account, establishing a permanent unauthorized login path.

Affected Systems

Applications that have python‑social‑auth:social‑core installed with the LINE backend enabled are impacted. Versions prior to 5.0.2 lack state validation; upgrading to 5.0.2 or later removes the flaw.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity. The EPSS score of <1% signals a very low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog, suggesting limited public exploitation. The attack vector requires only the victim’s interaction with the crafted callback URL; no additional privileges are necessary.

Generated by OpenCVE AI on October 16, 2026 at 20:46 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade python‑social‑auth:social‑core to version 5.0.2 or later
  • If the LINE backend is not required, disable it to eliminate the attack surface
  • If account linking is enabled, review configuration to ensure it cannot be abused without proper authentication

Generated by OpenCVE AI on October 16, 2026 at 20:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-526j-582w-7fm9 Python Social Auth: Login CSRF in LINE backend (LineOAuth2) — missing OAuth state validation (incomplete fix of 5.0.0 campaign)
History

Wed, 28 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 17 Oct 2026 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Python-social-auth
Python-social-auth social-core
Vendors & Products Python-social-auth
Python-social-auth social-core

Fri, 16 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-358
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 15 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
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.
Title Python Social Auth: Login CSRF in LINE backend (LineOAuth2) — missing OAuth state validation (incomplete fix of 5.0.0 campaign)
Weaknesses CWE-352
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N'}


Subscriptions

Python-social-auth Social-core
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-28T19:54:37.324Z

Reserved: 2026-07-13T19:27:58.314Z

Link: CVE-2026-62322

cve-icon Vulnrichment

Updated: 2026-10-28T19:54:30.369Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-15T19:17:42.213

Modified: 2026-10-28T20:18:28.530

Link: CVE-2026-62322

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-15T18:45:06Z

Links: CVE-2026-62322 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T17:45:11Z

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)

  • CWE-358

    Improperly Implemented Security Check for Standard