// Security Advisory Triage
Authlib accepts empty HMAC key, enabling JWT signature forgery
GitHub advisories — pip · published 2026-10-27 18:06 UTC
WHAT CHANGEDCVE-2026-114616 published 27 October 2026. Authlib versions before 1.9.1 accept an empty HMAC key for HS256/HS384/HS512 algorithms, allowing an attacker to forge JWS/JWT signatures. Fixed in version 1.9.1.
WHY IT MATTERSAny service using Authlib to verify JWT tokens with HMAC algorithms can be bypassed if an attacker supplies a token signed with an empty key. This breaks authentication and authorization controls.
WHAT TO DOCheck if you use Authlib for JWT verification with HS256, HS384, or HS512. If yes, upgrade to Authlib 1.9.1 immediately.
Model-reported confidence 95% (not measured accuracy)
Primary source ↗
written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-8m4g-j4wp-wgcg +summary: Authlib accepts an empty HMAC key, allowing JWS/JWT signature forgery (HS256/HS384/HS512) +severity: high +published_at: 2026-10-27T16:09:22Z +cve_id: CVE-2026-114616 +vulnerabilities[].package.name: Authlib +vulnerabilities[].first_patched_version: 1.9.1
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
| triage verdict | MATERIAL at 0.92, needed 0.5 |
|---|---|
| triage reasoning | JWT signature forgery in widely-deployed Python auth library affects most services handling tokens. |
| signals | known exploitation vector: JWS/JWT signature forgery via empty HMAC key · high severity rating · authentication library in dependency tree · fixed version available: 1.9.1 · Authlib is a widely-used Python OAuth/OpenID/JWT library |
| suppression | — |
| triage model | anthropic/claude-haiku-4.5 ($0.00000) |
| writer model | anthropic/claude-sonnet-4.5 ($0.00000) |