THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-8m4g-j4wp-wgcg (high) — Authlib accepts an empty HMAC key, allowing JWS/JWT signature forgery (HS256/HS384/HS512)

[GHSA] GHSA-8m4g-j4wp-wgcg (high) — Authlib accepts an empty HMAC key, allowing JWS/JWT signature forgery (HS256/HS384/HS512)

medgithub_advisoriesPublished 2026-10-27

GHSA-8m4g-j4wp-wgcg Severity: high CVE: CVE-2026-114616

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

Reporter: Cavan Loughran, Celvex Group Inc.

Summary

Authlib's symmetric (oct) key handling accepts an empty key (empty bytes b'' / empty string '') as a valid HMAC signing and verification key. An empty HMAC key produces a deterministic digest that a

Indicators of compromise

Original source: https://github.com/advisories/GHSA-8m4g-j4wp-wgcg