๐Ÿ” CVE Alert

CVE-2026-137564

MEDIUM 5.9

web-token jwt-framework before 3.4.13 Missing Key Size Check in Direct Encryption

CVSS Score
5.9
EPSS Score
0.1%
EPSS Percentile
0th

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.

CWE CWE-326
Vendor web-token
Product jwt-library
Published Nov 26, 2026
Last Updated Nov 27, 2026
Stay Ahead of the Next One

Get instant alerts for web-token jwt-library

Be the first to know when new medium vulnerabilities affecting web-token jwt-library are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Affected Versions

web-token / jwt-library
0 < 3.4.13 4.0.0 < 4.0.9 4.1.0 < 4.1.11 4.2.0 < 4.2.6
web-token / jwt-framework
0 < 3.4.13 4.0.0 < 4.0.9 4.1.0 < 4.1.11 4.2.0 < 4.2.6
web-token / jwt-encryption
0 โ‰ค 3.2.10

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/web-token/jwt-framework/security/advisories/GHSA-jc6j-46g2-xwqc vulncheck.com: https://www.vulncheck.com/advisories/web-token-jwt-framework-before-3.4.13-missing-key-size-check-in-direct-encryption