OpenID Connect nonce not bound to session in Python Social Auth
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Security bypass, Spoofing
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-345 and CWE-384.
Summary
Python Social Auth social-core before 6.2.0 and social-auth-core before 6.2.0 are affected. The OpenID Connect nonce is stored in a shared table and checked only for existence and expiry, not bound to the browser session or OAuth state (CWE-345). An attacker who obtains a victim's unused authorization code can log in as the victim when DEFAULT_USE_PKCE is disabled, as it is in the default OpenIdConnectAuth configuration.
Written with Claude Haiku 5.5 from the sources below · 2026-10-31
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| python-social-auth | social-core | before 6.2.0 | 6.2.0 | Patch available | CNA |
| — | social-auth-core (PyPI) | before 6.2.0 | 6.2.0 | Patch available | GHSA-h2r5-x5m7-3935 |
- social-core Vendorpython-social-auth Affected before 6.2.0 Fixed in 6.2.0 Patch available CNA
- social-auth-core (PyPI) Vendor— Affected before 6.2.0 Fixed in 6.2.0 Patch available GHSA-h2r5-x5m7-3935
Remediation
Upgrade social-auth-core to 6.2.0, which fixes this issue. The sources list no fixed version for social-core. Red Hat lists Ansible Automation Platform 2 as affected with no fix available.
Written with Claude Haiku 5.5 from the sources below · 2026-10-31
- Fix · CNA social-core (python-social-auth) Fixed in 6.2.0
- Fix · GHSA-h2r5-x5m7-3935 social-auth-core (PyPI) Fixed in 6.2.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-26 Threatist record created from CVE-2026-115910
- 2026-10-27 Affected versions changed · Red Hat
- 2026-10-27 CVSS score added · Red Hat
- 2026-10-27 Priority changed: MEDIUM → LOW
- 2026-10-28 Alias added: GHSA-h2r5-x5m7-3935
- 2026-10-28 Fix available: PyPI/[email protected] · GHSA-h2r5-x5m7-3935
- 2026-10-28 CVSS score added · GHSA-h2r5-x5m7-3935
- 2026-10-28 Weakness changed · GHSA-h2r5-x5m7-3935
- 2026-10-28 6 new references · GHSA-h2r5-x5m7-3935
- 2026-10-31 CISA SSVC decision points changed
- 2026-10-31 Priority changed: LOW → HIGH
References
Other 5
- https://github.com/python-social-auth/social-core/security/advisories/GHSA-h2r5-x5m7-3935
- https://github.com/python-social-auth/social-core/pull/2141
- https://github.com/python-social-auth/social-core/commit/c2f2ae4663bef19ee8b07f2cf5a2344f9155d826
- https://github.com/python-social-auth/social-core/releases/tag/6.2.0
- https://github.com/python-social-auth/social-core
More python-social-auth vulnerabilities
- TI-2025-38176 Python Social Auth - Django has unsafe account association CVSS 4.0MEDIUM 6.3
- TI-2026-41144 social-auth-core: VK App backend accepts unsigned callback data when auth_key is missing CVSS 3.1HIGH 7.4
- TI-2026-41142 social-auth-core Vulnerable to Account Takeover via Identity Binding Flaw in Vend Backend CVSS 3.1MEDIUM 6.8
- TI-2026-41141 social-auth-core has an Improper Authentication issue CVSS 3.1MEDIUM 6.4
- TI-2026-74654 Login CSRF in Python Social Auth LINE backend CVSS 3.1MEDIUM 6.5
- TI-2024-21751 social-auth-app-django Improper Handling of Case Sensitivity vulnerability CVSS 3.1MEDIUM 4.9
Sources
- CVE-2026-115910 · CVE Program
- CVE-2026-115910 · NVD
- FIRST EPSS
- GHSA-h2r5-x5m7-3935 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-115910 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences