CVE-2026-114617

Authlib: ID token can disable its own nonce validation via the nonce_supported claim

State
Published
Severity
4.2 Medium
Published
Oct 22, 2026
Updated
Oct 23, 2026
Reserved
Oct 21, 2026

Read the record on cve.org

Description

Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.9.0, OpenIDMixin.parse_id_token() reads the nonce_supported decision from the untrusted ID token being validated and sets the expected nonce to null when that claim is the JSON boolean false. In implicit and hybrid relying parties, or applications that directly accept externally supplied ID tokens, an attacker with a captured validly signed token can bypass the nonce-to-session binding and replay the victim's token into an attacker-controlled session. Plain authorization code flow is not affected, and the token must still pass signature, issuer, and audience validation. OpenIDMixin.parse_id_token() trusts nonce_supported in both authlib/integrations/base_client/sync_openid.py and authlib/integrations/base_client/async_openid.py to disable the expected nonce. This issue is fixed in version 1.9.0.

Scores

CVSSScoreVectorSource
3.14.2 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:NGitHub_M

Weaknesses

  • CWE-294 Authentication Bypass by Capture-replay
  • CWE-807 Reliance on Untrusted Inputs in a Security Decision

Affected Products

ProductVersions
authlibauthlib
  • < 1.9.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.