CVE-2026-114616 authlib · authlib
AI summary
Authlib Python library versions prior to 1.9.1 accept zero-length key material for HMAC signing and verification. If an application's secret lookup can return an empty value, a remote unauthenticated attacker can forge arbitrary HS256/HS384/HS512 tokens that Authlib treats as authentic. Critical (9.1); upgrade to 1.9.1.
Official description
Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.9.1, Authlib's OctKey.import_key() and HMAC signing and verification path accept zero-length key material. If an application's secret lookup can return an empty string or empty bytes, a remote attacker can compute the deterministic HS256, HS384, or HS512 signature for arbitrary token claims and have Authlib treat the token as authentic. This issue is fixed in version 1.9.1.
- Published
- 2026-10-22 22:18 UTC
- Modified
- 2026-10-30 20:17 UTC
- CVSS
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - EPSS
- 0.37% (percentile 23)
- ENISA EUVD
- EUVD-2026-108517
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
- CWE
- CWE-287
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- none
References
- NVD · CVE.org
- github.com
https://github.com/authlib/authlib/security/advisories/GHSA-8m4g-j4wp-wgcg - github.com
https://github.com/authlib/authlib/commit/4ff30db442c70e29486e1982cb0ad37c037f5f4b - github.com
https://github.com/authlib/authlib/releases/tag/v1.9.1