# CVE-2026-137564: web-token jwt-framework before 3.4.13 Missing Key Size Check in Direct Encryption

- Severity: High 8.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-11-26T15:59:57.193Z
- Modified: 2026-11-27T17:17:54.403Z
- Weaknesses: CWE-326
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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)
- 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)
- web-token jwt-encryption: up to 3.2.10

## Every score

- VulnCheck: CVSS:4.0 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:N`
- VulnCheck: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/web-token/jwt-framework/security/advisories/GHSA-jc6j-46g2-xwqc> (vendor-advisory)
- <https://www.vulncheck.com/advisories/web-token-jwt-framework-before-3.4.13-missing-key-size-check-in-direct-encryption> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-137564](https://www.cve.org/CVERecord?id=CVE-2026-137564), CVE Terms of Use, modified 2026-11-27
- NVD: [CVE-2026-137564](https://nvd.nist.gov/vuln/detail/CVE-2026-137564), Public domain, modified 2026-11-27

---

Page: https://cve.day/CVE-2026-137564 · Whole record: https://cve.day/CVE-2026-137564.json · Rebuilt by cve.day 2026-11-27T17:32:17.240Z
