// Security Advisory Triage

PyJWT 2.14.0 patches HMAC empty-key bypass (CVE-2026-102266)

GitHub advisories — pip · published 2026-09-30 21:59 UTC
ACTION NEEDED PATCH_NOW SECURITYAPI
WHAT CHANGEDPyJWT versions before 2.14.0 accept empty HMAC keys through PyJWK, bypassing the library's own empty-key validation. GitHub published advisory GHSA-9j54-fg26-wv3r on 2026-09-29, rated high severity. Version 2.14.0 patches the issue.
WHY IT MATTERSAn attacker can forge tokens if your service uses PyJWK to load HMAC keys and does not validate key material before passing it to PyJWT. The bypass defeats the protection PyJWT is supposed to provide.
WHAT TO DOGrep your requirements files and lockfiles for PyJWT. If found, update to 2.14.0 or later and deploy in this cycle. If you use PyJWK to load HMAC keys, verify that key material is non-empty before calling PyJWT.
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-9j54-fg26-wv3r
+summary: PyJWT: PyJWK accepts empty HMAC keys, bypassing PyJWT's empty-key validation
+severity: high
+published_at: 2026-09-29T23:43:19Z
+cve_id: CVE-2026-102266
+vulnerabilities[].package.name: PyJWT
+vulnerabilities[].first_patched_version: 2.14.0
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningPyJWT is a widely-used Python package for JWT handling. Empty HMAC key bypass is a cryptographic validation failure affecting authentication.
signalsknown vulnerability in PyJWT · high severity rating · security bypass: empty HMAC key validation · patched version available (2.14.0) · PyJWT is a common dependency in Python services
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)