CVE-2026-137564
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 package | Versions | Reported by |
|---|---|---|
| web-token jwt-library | before 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-framework | before 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-encryption | up to 3.2.10 | CVE List |
All scores
| VulnCheck | 8.2high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-137564 changed 2026-11-27 | CVE Terms of Use |
| NVD | CVE-2026-137564 changed 2026-11-27 | Public domain |