{"id":"CVE-2026-115910","summary":"Python Social Auth: OpenID Connect nonce is not bound to the browser session, so a stolen authorization code logs the attacker in as the victim","details":"Python Social Auth is a social authentication and registration mechanism. Prior to 6.2.0, OpenIdConnectAuth in social_core/backends/open_id_connect.py uses get_and_store_nonce to place the OpenID Connect nonce in a shared OpenIdConnectAssociation table, and get_nonce and validate_claims verify only that the nonce exists and has not expired rather than binding it to the browser session and OAuth state that initiated the login. An attacker who obtains a victim's unused authorization code can start a separate login to obtain valid state for the attacker's browser, submit the victim's code with that state, and pass nonce validation because the victim nonce is globally available. With DEFAULT_USE_PKCE disabled in the default OpenIdConnectAuth configuration, the attacker can be logged in as the victim. This issue is fixed in version 6.2.0.","aliases":["GHSA-h2r5-x5m7-3935"],"modified":"2026-11-14T17:28:24.984158222Z","published":"2026-10-26T16:44:34.337Z","related":["openSUSE-SU-2026:12558-1"],"database_specific":{"cwe_ids":["CWE-345","CWE-384"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115910.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/python-social-auth/social-core/releases/tag/6.2.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115910.json"},{"type":"ADVISORY","url":"https://github.com/python-social-auth/social-core/security/advisories/GHSA-h2r5-x5m7-3935"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115910"},{"type":"FIX","url":"https://github.com/python-social-auth/social-core/commit/c2f2ae4663bef19ee8b07f2cf5a2344f9155d826"},{"type":"FIX","url":"https://github.com/python-social-auth/social-core/pull/2141"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python-social-auth/social-core","events":[{"introduced":"0"},{"fixed":"04bb4569ac3acd656b4e3ac37b550e65f5d54c8f"},{"fixed":"c2f2ae4663bef19ee8b07f2cf5a2344f9155d826"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"6.2.0"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"c2f2ae4663bef19ee8b07f2cf5a2344f9155d826"}]},{"original_tag":"6.2.0","range":[{"fixed":"04bb4569ac3acd656b4e3ac37b550e65f5d54c8f"}],"source":"REFERENCES_TAG"}]}}],"versions":["6.1.1","6.1.0","6.0.0","5.2.0","5.1.1","5.1.0","5.0.2","5.0.1","5.0.0","4.9.1","4.9.0","4.8.7","4.8.6","4.8.5","4.8.4","4.8.3","4.8.2","4.8.1","4.8.0","4.7.0","4.6.1","4.6.0","4.5.6","4.5.5","4.5.4","4.5.3","4.5.2","4.5.1","4.5.0","4.4.2","4.4.1","4.4.0","4.3.0","4.2.0","4.1.0","4.0.3","4.0.2","4.0.1","4.0.0","3.4.0","3.3.3","3.1.0","3.3.2","3.3.1","3.3.0","3.2.0","3.0.0","2.0.0","1.7.0","1.6.0","1.5.0","1.4.0","1.3.0","1.2.0","1.1.0","1.0.1","0.2.1","0.2.0","0.1.0","0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-115910.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"}]}