CVE-2026-137564
NVD
Vulnerability Summary
web-token jwt-framework and jwt-library before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6 (and jwt-encryption through 3.2.10) do not check the key length in JWEBuilder and JWEDecrypter for direct (dir) encryption, so undersized keys are zero-padded. Anyone holding a token issued with a half-size AES-CBC-HMAC key can decrypt it, and an empty key also allows forging tokens the decrypter accepts.
CVSS v4.0 Base Metrics — Score 8.2 (HIGH)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)None
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 5.9)
CVSS v3.1 Base Metrics — Score 5.9 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone
Affected & Patched Versions
- web-token jwt-library < 3.4.13
- web-token jwt-library >= 4.0.0 and < 4.0.9
- web-token jwt-library >= 4.1.0 and < 4.1.11
- web-token jwt-library >= 4.2.0 and < 4.2.6
- web-token jwt-framework < 3.4.13
- web-token jwt-framework >= 4.0.0 and < 4.0.9
- web-token jwt-framework >= 4.1.0 and < 4.1.11
- web-token jwt-framework >= 4.2.0 and < 4.2.6
- web-token jwt-encryption <= 3.2.10
- web-token jwt-library 3.4.13
- web-token jwt-library 4.0.9
- web-token jwt-library 4.1.11
- web-token jwt-library 4.2.6
- web-token jwt-framework 3.4.13
- web-token jwt-framework 4.0.9
- web-token jwt-framework 4.1.11
- web-token jwt-framework 4.2.6
- web-token jwt-encryption 3.2.10
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run web-token jwt-library and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 26, 2026Published
- Nov 27, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new web-token jwt-library CVEsYou are reading CVE-2026-137564. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 30, 2026 02:10 UTC