Vulnerability PYSEC-2026-4357

Medium Risk
MEDIUM RISK
CVSS Score: 4.2
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
8 days ago
October 22, 2026 at 10:18 PM UTC
No summary available
0.1rc0 - 1.8.0
0.1rc0 - 1.8.0

Details

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.

Impacted packages

Timeline

Published
8 days ago
October 22, 2026 at 10:18 PM UTC
Fixed (1.9.0)
16 days ago
October 14, 2026 at 07:55 AM UTC
Last Modified
17 hours ago
October 30, 2026 at 10:00 AM UTC