Vulnerability · Published Oct 22, 2026 · Assigned by GitHub_M

CVE-2026-114616Authlib accepts an empty HMAC key, allowing JWS/JWT signature forgery (HS256/HS384/HS512)

High 7.4

In plain English

A high-severity improper authentication in authlib from authlib. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.4High
Exploit odds (30 days)0.3%top 77.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12python-authlibno fix listedDEBIAN-CVE-2026-114616
Debian:13python-authlibno fix listedDEBIAN-CVE-2026-114616
Debian:14python-authlib1.9.1-1DEBIAN-CVE-2026-114616
PyPIauthlib1.9.1GHSA-8m4g-j4wp-wgcg
PyPIauthlib1.9.1PYSEC-2026-4356
Ubuntu:26.10python-authlibno fix listedUBUNTU-CVE-2026-114616

Affected products (as reported)

VendorProductVersions
authlib authlib < 1.9.1

Weakness: CWE-287, CWE-326, CWE-1391 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

References