{"schema_version":"1.9.0","id":"GHSA-526j-582w-7fm9","published":"2026-10-15T20:09:11Z","modified":"2026-10-15T20:15:04.436524406Z","aliases":["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\n\nApplications 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.\n\nIf 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.\n\n### Patches\n* https://github.com/python-social-auth/social-core/pull/1829\n\n### Workarounds\n  Only applications that enable the LINE backend are affected.\n\n### Credits\n\nThanks to Ta Duc Thien and Duc Anh Nguyen for reproting this via GitHub.","affected":[{"package":{"name":"social-auth-core","ecosystem":"PyPI","purl":"pkg:pypi/social-auth-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.2"}]}],"versions":["0.0.1","0.1.0","0.2.0","0.2.1","1.0.0","1.0.1","1.1.0","1.2.0","1.3.0","1.4.0","1.5.0","1.6.0","1.7.0","2.0.0","3.0.0","3.1.0","3.2.0","3.3.0","3.3.1","3.3.2","3.3.3","3.4.0","4.0.2","4.0.3","4.1.0","4.2.0","4.3.0","4.4.0","4.4.1","4.4.2","4.5.0","4.5.1","4.5.2","4.5.3","4.5.4","4.5.5","4.5.6","4.6.0","4.6.1","4.7.0","4.8.0","4.8.1","4.8.2","4.8.3","4.8.4","4.8.5","4.8.6","4.8.7","4.9.0","4.9.1","5.0.0","5.0.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-526j-582w-7fm9/GHSA-526j-582w-7fm9.json"}}],"references":[{"type":"WEB","url":"https://github.com/python-social-auth/social-core/security/advisories/GHSA-526j-582w-7fm9"},{"type":"WEB","url":"https://github.com/python-social-auth/social-core/pull/1829"},{"type":"WEB","url":"https://github.com/python-social-auth/social-core/commit/5b3b90d07ebccc1f5b076445b27ea35ec059764b"},{"type":"PACKAGE","url":"https://github.com/python-social-auth/social-core"},{"type":"WEB","url":"https://github.com/python-social-auth/social-core/releases/tag/5.0.2"}],"database_specific":{"cwe_ids":["CWE-352"],"github_reviewed":true,"github_reviewed_at":"2026-10-15T20:09:11Z","nvd_published_at":null,"severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"}]}