All vulnerabilities

PyPI

CVE-2026-114617

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

Severity
Medium 4.2
Published
27 Oct 2026
Last changed
30 Oct 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.9.0
Exploit chance
0.3% in the next 30 daysHigher than 18% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Authentication bypass by capture-replay (CWE-294)CWE-807
Attack
Over the network · Only under certain conditions · No login needed · Needs someone to click or open something
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Also known as
GHSA-c5mf-xmp2-59rc, PYSEC-2026-4357
Sources
OSV.dev and GitHub

Description

OpenIDMixin.parse_id_token() reads the nonce_supported claim from the ID token it is validating. When that claim is boolean false, the expected nonce is set to None and nonce validation is skipped for that token.

An ID token that carries this claim is therefore accepted in a session whose nonce does not match. A captured, validly signed ID token belonging to a victim can be replayed into an attacker-controlled session, authenticating the attacker as the victim at the relying party.

The code is identical in authlib/integrations/base_client/sync_openid.py:82-83 and authlib/integrations/base_client/async_openid.py:84-85, so all framework integrations are affected. Fixed versions: none; reproduced on 1.8.0 (commit c529a61a).

Preconditions: the ID token must carry a valid signature and pass iss and aud validation, and the attacker must be able to supply it to parse_id_token(). Authorization code flow is not affected.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Workarounds

None. The check is performed inside parse_id_token(), and no parameter or configuration option is exposed to disable the behaviour or to override the nonce handling.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
authlibPyPI · osv:PyPI:authlib
  • Every version before 1.9.0

About authlib

Weekly downloads (PyPI)
38,222,635PyPI Stats, 23 Nov 2026

References