
CVE catalog
CVE-2026-114615
python-authlib: CVE-2026-114615
- Severity
- High · CVSS 7.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
Authlib is a Python library which builds OAuth and OpenID Connect servers. From 1.3.1 until 1.9.0, OctKey.import_key() checks asymmetric-key markers only at byte zero while Authlib's PEM loaders accept leading whitespace, comments, or a byte-order mark. In deployments that use the documented mixed algorithm registry and already configure verification with PEM or certificate bytes containing such a prefix, an unauthenticated attacker who knows those same public-key bytes can use them as an HMAC secret and forge HS256 tokens with arbitrary identity or authorization claims. This is a bypass of the remediation for CVE-2024-37568. The module-level jwt object reaches OctKey.import_key() in authlib/jose/rfc7518/oct_key.py, where POSSIBLE_UNSAFE_KEYS fails to identify prefixed asymmetric key material. This issue is fixed in version 1.9.0.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-authlib | sid | 1.7.2-2 | vulnerable |
| Debian | python-authlib | forky | 1.7.2-2 | vulnerable |
| Debian | python-authlib | trixie | 1.6.0-1+deb13u1 | vulnerable |
| Debian | python-authlib | bookworm | 1.2.0-1+deb12u1 | vulnerable |
| Debian | python-authlib | bookworm-security | 1.2.0-1+deb12u2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-authlib | source | sid | (unfixed) | not yet assigned | Not reported | [1151845] |
| Debian | python-authlib | source | forky | (unfixed) | not yet assigned | Not reported | [1151845] |
| Debian | python-authlib | source | trixie | (unfixed) | not yet assigned | Not reported | [1151845] |
| Debian | python-authlib | source | bookworm | (unfixed) | not yet assigned | Not reported | [1151845] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-authlib]Affected
Source package: [python-authlib]
Details (4)
1.2.0-1+deb12u1· all · bookwormAffected
dsa · python-authlib · debian · bookworm
1.2.0-1+deb12u1· all · bookwormAffected
dsa · python-authlib · debian · bookworm
1.2.0-1+deb12u2· all · bookworm-securityAffected
dsa · python-authlib · debian · bookworm
1.2.0-1+deb12u2· all · bookworm-securityAffected
dsa · python-authlib · debian · bookworm
- [python-authlib-doc]Affected
Source package: [python-authlib]
Details (4)
1.2.0-1+deb12u1· all · bookwormAffected
dsa · python-authlib · debian · bookworm
1.2.0-1+deb12u1· all · bookwormAffected
dsa · python-authlib · debian · bookworm
1.2.0-1+deb12u2· all · bookworm-securityAffected
dsa · python-authlib · debian · bookworm
1.2.0-1+deb12u2· all · bookworm-securityAffected
dsa · python-authlib · debian · bookworm
Observed:
References
- [https://github.com/authlib/authlib/commit/e3bd41cb29dcfee434453b135ffb487884baeedf]
- [https://github.com/authlib/authlib/pull/945]
- [https://github.com/authlib/authlib/releases/tag/v1.9.0]
- [https://github.com/authlib/authlib/security/advisories/GHSA-7vr2-2fgp-9w7p]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-114615]
- [https://security-tracker.debian.org/tracker/CVE-2026-114615]
[Debian Security Tracker] · [National Vulnerability Database (NVD)]