Skip to content
OpenAdvisories
Medium · 4.2 CVE-2026-114617 EUVD-2026-108519GHSA-c5mf-xmp2-59rcPYSEC-2026-4357

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

Published Oct 22, 2026 · Updated Oct 23, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
authlib authlib < 1.9.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-authlib 1.9.1-1 —
Debian 13 python-authlib No fix yet —
Debian 12 python-authlib No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 python-authlib No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS python-authlib No fix yet —
Ubuntu Pro 24.04 LTS python-authlib No fix yet —
Ubuntu Pro 22.04 LTS python-authlib No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Authlib 1.9.1-1.1 openSUSE-SU-2026:12390-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling open-webui 0.12.3-r11 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI authlib < 1.9.0 1.9.0 GHSA-c5mf-xmp2-59rc

Advisories 1

References