CVE-2026-114615
Critical 9.1 P3 · Plan (30/100)Authlib incomplete algorithm-confusion fix permits HMAC forgery with prefixed public keys
Confirmed facts from the sources
- CVSS
- 9.1 (Critical) · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Scored by nvd@nist.gov - Exploitation confirmed
- Not in the CISA KEV catalog
- Exploitation estimated (EPSS)
- 0.21 % · percentile 6.0 % (as of 29.11.2026)
Probability of exploitation in the next 30 days – an estimate by FIRST, not confirmation. - Public exploit
- The sources reference a public exploit.
- Fix
- Fix available
- Monitored technologies
- No monitored technology
Description (source)
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.
Affected products and versions
| Vendor / product | Affected versions | Fixed in | Source |
|---|---|---|---|
| authlib authlib | = >= 1.3.1, < 1.9.0 | — | nvd |
| authlib authlib | >= 1.3.1, < 1.9.0 | — | nvd |
| pip: authlib | >= 1.3.1, <= 1.8.0 | 1.9.0 | github |
Versions as published. “Fixed in” only where a source names the version explicitly.
Recommended mitigation
Fixed versions: authlib 1.9.0
- github.com (Patch)
- github.com (Patch)
- github.com (Mitigation)
In general: check your versions, update to a fixed version, limit exposure until then and follow the vendor guidance.
AI interpretation
No AI interpretation yet – it is created for urgent advisories of monitored technologies. The facts above apply regardless.
Why this priority?: P3 · Plan (30/100)
- Estimated exploitation probability 0.21 % (EPSS, percentile 6 %) – an estimate, not confirmation (+0)
- The sources reference a public exploit (+10)
- Technical severity: CVSS 9.1 (CRITICAL) – on its own not a reason for top priority (+20)
- Fix available – plan the update (+0)
Priority is a general assessment from CVSS, KEV, EPSS, exploits, relevance and fix availability. Whether a specific environment is affected depends on its versions, configuration and exposure.
Original advisories and links
- Advisory https://nvd.nist.gov/vuln/detail/CVE-2026-114615 · nvd
- Advisory https://github.com/advisories/GHSA-7vr2-2fgp-9w7p · github
- Mitigation https://github.com/authlib/authlib/security/advisories/GHSA-7vr2-2fgp-9w7p · security-advisories@github.com
- Patch https://github.com/authlib/authlib/commit/e3bd41cb29dcfee434453b135ffb487884baeedf · security-advisories@github.com
- Patch https://github.com/authlib/authlib/pull/945 · security-advisories@github.com
- Reference https://github.com/authlib/authlib/releases/tag/v1.9.0 · security-advisories@github.com