{"id":"CVE-2026-114616","published":"2026-10-22T21:14:03Z","modified":"2026-10-30T20:07:37Z","title":"Authlib accepts an empty HMAC key, allowing JWS/JWT signature forgery (HS256/HS384/HS512)","vendor":"authlib","product":"authlib","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0037,"percentile":0.22963,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"},{"id":"CWE-326","name":"Inadequate Encryption Strength"},{"id":"CWE-1391","name":"Use of Weak Credentials"}],"references":[{"url":"https://github.com/authlib/authlib/security/advisories/GHSA-8m4g-j4wp-wgcg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/authlib/authlib/commit/4ff30db442c70e29486e1982cb0ad37c037f5f4b","tags":["x_refsource_MISC"]},{"url":"https://github.com/authlib/authlib/releases/tag/v1.9.1","tags":["x_refsource_MISC"]}],"priority":{"score":9.8,"factors":[{"name":"EPSS percentile","points":4.59},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"authlib","affectedVersions":[{"vendor":"authlib","product":"authlib","versions":["< 1.9.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-30T20:07:25.381279Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Authlib","vulnerableRanges":["<1.9.1"],"patched":["1.9.1"],"from":["GHSA-8m4g-j4wp-wgcg","PYSEC-2026-4356"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-108517","exploited":false,"provenance":"source"}}