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

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-22T21:14:03.060Z
- Modified: 2026-10-30T20:17:00.643Z
- Also known as: GHSA-8m4g-j4wp-wgcg, PYSEC-2026-4356
- Weaknesses: CWE-287, CWE-326, CWE-1391
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- authlib authlib: < 1.9.1; before 1.9.1
- authlib (PyPI): before 1.9.1

## Every score

- GitHub_M: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/authlib/authlib/security/advisories/GHSA-8m4g-j4wp-wgcg> (exploit, evidence, mitigation, vendor-advisory, web)
- <https://github.com/authlib/authlib/commit/4ff30db442c70e29486e1982cb0ad37c037f5f4b> (fix, patch, web)
- <https://github.com/authlib/authlib/releases/tag/v1.9.1> (advisory, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-114616> (advisory)
- <https://github.com/authlib/authlib> (package)

## Sources

- CVE List: [CVE-2026-114616](https://www.cve.org/CVERecord?id=CVE-2026-114616), CVE Terms of Use, modified 2026-10-30
- GitHub Advisory Database: [GHSA-8m4g-j4wp-wgcg](https://github.com/advisories/GHSA-8m4g-j4wp-wgcg), CC-BY-4.0, modified 2026-10-30
- NVD: [CVE-2026-114616](https://nvd.nist.gov/vuln/detail/CVE-2026-114616), Public domain, modified 2026-10-30
- PyPA Advisory Database: [PYSEC-2026-4356](https://osv.dev/vulnerability/PYSEC-2026-4356), CC-BY-4.0, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-114616 · Whole record: https://cve.day/CVE-2026-114616.json · Rebuilt by cve.day 2026-11-25T22:59:46.845Z
