- Accueil
- Vulnérabilités
- CVE-2026-115910
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
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
python-social-auth (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| social-core | Versions non précisées | — | CNA (éditeur ou attributeur) |
Pypi (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| social-auth-core | avant 6.2.0 (exclu) |
6.2.0 |
GitHub Advisory |
Correctif
Mise à jour — PyPI/social-auth-core 6.2.0source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Exploit signalé par les sources
Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
Références
- https://github.com/python-social-auth/social-core/security/advisories/GHSA-h2r5-x5m7-3935exploit
- https://github.com/python-social-auth/social-core/pull/2141x_refsource_MISC
- https://github.com/python-social-auth/social-core/commit/c2f2ae4663bef19ee8b07f2cf5a2344f9155d826x_refsource_MISC
- https://github.com/python-social-auth/social-core/releases/tag/6.2.0x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-115910ADVISORY
- https://github.com/python-social-auth/social-corePACKAGE
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-345 · Autre (CWE-345)