CVE-2026-114616
CRITICAL 9.1CVSS 3.1Authlib accepts an empty HMAC key, allowing JWS/JWT signature forgery (HS256/HS384/HS512)
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
- 22 Oct 2026
- Last modified
- 30 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1391CWE-287CWE-326
- Also known as
- GHSA-8m4g-j4wp-wgcgPYSEC-2026-4356
- Sources
- NVDJSONOSV GHSA-8m4g-j4wp-wgcgJSONOSV PYSEC-2026-4356JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | authlib | authlibcpe:2.3:a:authlib:authlib:*:*:*:*:*:*:*:* |
< 1.9.1 | 1.9.1 |
| OSV | PyPI | authlib | < 1.9.1 | 1.9.1 |
References
- https://github.com/authlib/authlib/commit/4ff30db442c70e29486e1982cb0ad37c037f5f4b · Patch, WEB, FIX
- https://github.com/authlib/authlib/releases/tag/v1.9.1 · Release Notes, WEB, ADVISORY
- https://github.com/authlib/authlib/security/advisories/GHSA-8m4g-j4wp-wgcg · Exploit, Mitigation, Vendor Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2026-114616 · ADVISORY
- https://github.com/authlib/authlib · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 22 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Oct 2026)