CVE-2026-137564
JSON

8.2high

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

Severity
8.2high CVSS:4.0 by VulnCheck
Exploit likelihood
0.10% (higher than 0% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

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.

Affected

Product or packageVersionsReported by
web-token jwt-librarybefore 3.4.13, from 4.0.0 before 4.0.9, from 4.1.0 before 4.1.11, from 4.2.0 before 4.2.6
Not affected: 3.4.13, 4.0.9, 4.1.11, 4.2.6
CVE List
web-token jwt-frameworkbefore 3.4.13, from 4.0.0 before 4.0.9, from 4.1.0 before 4.1.11, from 4.2.0 before 4.2.6
Not affected: 3.4.13, 4.0.9, 4.1.11, 4.2.6
CVE List
web-token jwt-encryptionup to 3.2.10CVE List

All scores

VulnCheck8.2high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-326

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-137564 changed 2026-11-27CVE Terms of Use
NVDCVE-2026-137564 changed 2026-11-27Public domain