CVE-2026-28498
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Summary
Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.9, a library-level vulnerability was identified in the Authlib Python library concerning the validation of OpenID Connect (OIDC) ID Tokens. Specifically, the internal hash verification logic (_verify_hash) responsible for validating the at_hash (Access Token Hash) and c_hash (Authorization Code Hash) claims exhibits a fail-open behavior when encountering an unsupported or unknown cryptographic algorithm. This flaw allows an attacker to bypass mandatory integrity protections by supplying a forged ID Token with a deliberately unrecognized alg header parameter. The library intercepts the unsupported state and silently returns True (validation passed), inherently violating fundamental cryptographic design principles and direct OIDC specifications. This issue has been patched in version 1.6.9.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| authlib | authlib | < 1.6.9 | affected |
Weaknesses
- CWE-354: CWE-354: Improper Validation of Integrity Check Value
- CWE-573: CWE-573: Improper Following of Specification by Caller
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: partial
authlib: Authlib: Authentication bypass via forged OpenID Connect ID Tokens
Additional References
- https://access.redhat.com/security/cve/CVE-2026-28498
- https://bugzilla.redhat.com/show_bug.cgi?id=2448182
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28498.json
- https://access.redhat.com/errata/RHSA-2026:6309
- https://access.redhat.com/errata/RHSA-2026:6912
- https://access.redhat.com/errata/RHSA-2026:6720
- https://access.redhat.com/errata/RHSA-2026:6568
- https://access.redhat.com/errata/RHSA-2026:6497
- https://access.redhat.com/errata/RHSA-2026:6567
References
- https://github.com/authlib/authlib/security/advisories/GHSA-m344-f55w-2m6j
- https://github.com/authlib/authlib/commit/b9bb2b25bf8b7e01512d847a95c1749646eaa72b
- https://github.com/authlib/authlib/releases/tag/v1.6.9
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.