Vulnerability · Published Mar 16, 2026 · Assigned by GitHub_M
CVE-2026-28498Authlib: Fail-Open Cryptographic Verification in OIDC Hash Binding
Critical 9.1
In plain English
A critical-severity security flaw in authlib from authlib. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-authlib | 1.2.0-1+deb12u2 | DEBIAN-CVE-2026-28498 |
| Debian:13 | python-authlib | no fix listed | DEBIAN-CVE-2026-28498 |
| Debian:14 | python-authlib | 1.6.9-1 | DEBIAN-CVE-2026-28498 |
| PyPI | authlib | 1.6.9 | PYSEC-2026-2117 |
| PyPI | authlib | 1.6.9 | GHSA-m344-f55w-2m6j |
| Ubuntu:25.10 | python-authlib | no fix listed | UBUNTU-CVE-2026-28498 |
| Ubuntu:26.10 | python-authlib | no fix listed | UBUNTU-CVE-2026-28498 |
Affected products (as reported)
Weakness: CWE-354, CWE-573, CWE-325 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/authlib/authlib/security/advisories/GHSA-m344-f55w-2m6j x_refsource_CONFIRM
- https://github.com/authlib/authlib/commit/b9bb2b25bf8b7e01512d847a95c1749646eaa72b x_refsource_MISC
- https://github.com/authlib/authlib/releases/tag/v1.6.9 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-28498 vdb-entry, x_refsource_REDHAT
- RHBZ#2448182 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28498.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:6309 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6912 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6720 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6568 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6497 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6567 vendor-advisory, x_refsource_REDHAT