# CVE-2026-115910: 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

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/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.21%, higher than 12% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-26T16:44:34.337Z
- Modified: 2026-10-31T02:17:29.397Z
- Also known as: GHSA-h2r5-x5m7-3935
- Weaknesses: CWE-345, CWE-384
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://github.com/python-social-auth/social-core/security/advisories/GHSA-h2r5-x5m7-3935> (exploit, web)
- <https://github.com/python-social-auth/social-core/pull/2141> (web)
- <https://github.com/python-social-auth/social-core/commit/c2f2ae4663bef19ee8b07f2cf5a2344f9155d826> (web)
- <https://github.com/python-social-auth/social-core/releases/tag/6.2.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-115910> (advisory)
- <https://github.com/python-social-auth/social-core> (package)

## Sources

- CVE List: [CVE-2026-115910](https://www.cve.org/CVERecord?id=CVE-2026-115910), CVE Terms of Use, modified 2026-10-31
- GitHub Advisory Database: [GHSA-h2r5-x5m7-3935](https://github.com/advisories/GHSA-h2r5-x5m7-3935), CC-BY-4.0, modified 2026-10-28
- NVD: [CVE-2026-115910](https://nvd.nist.gov/vuln/detail/CVE-2026-115910), Public domain, modified 2026-10-31

---

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