Library Vulnerability in Authlib Python Library Affecting OAuth and OpenID Connect Implementation
CVE-2026-28498
What is CVE-2026-28498?
The Authlib Python library, utilized for building OAuth and OpenID Connect servers, contains a library-level flaw concerning the validation of OpenID Connect ID Tokens prior to version 1.6.9. Specifically, the internal verification function for access token and authorization code hashes demonstrates a fail-open behavior when faced with unrecognized cryptographic algorithms. This flaw allows attackers to bypass essential integrity checks, enabling them to exploit the system by submitting forged ID Tokens with unsupported algorithm headers. Consequently, the library's response of validating these tokens as true undermines critical cryptographic principles and contravenes OIDC specifications. This vulnerability has been addressed in version 1.6.9.
Affected Version(s)
authlib < 1.6.9
