PT-2026-25790

CVE-2026-28498

·

Published

2026-01-01

·

Updated

2026-08-17

Description by

CVSS 3.1
9.1
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Authlib and Affected Versions Authlib versions prior to 1.6.9
Description Authlib, a Python library for building OAuth and OpenID Connect servers, contains a flaw in its OpenID Connect (OIDC) ID Token validation logic. The internal hash verification function ( verify hash) exhibits a fail-open behavior when it encounters an unsupported or unknown cryptographic algorithm. This allows an attacker to bypass integrity protections by supplying a forged ID Token with an unrecognized algorithm parameter. The library silently returns a successful validation result, violating cryptographic principles and OIDC specifications. This issue can lead to Token Substitution Attacks, potentially allowing attackers to use malicious Access Tokens or Authorization Codes. The vulnerability resides in the verify hash function within authlib/oidc/core/claims.py. The function create half hash returns None for unknown algorithms, and verify hash incorrectly interprets this as a successful verification.
Recommendations Update to Authlib version 1.6.9 or later to resolve this issue.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-M344-F55W-2M6J
ECHO-435F-9EB9-99CB
OPENSUSE-SU-2026:20392-1
PYSEC-2026-2117
SUSE-SU-2026:0975-1
USN-8557-1
Found an issue in the description? Have something to add? Feel free to write us 👾