CVE-2026-137562
web-token jwt-framework before 3.4.13 Missing Key Length Check in AES Key Wrapping
Medium · 6.3Fix available
- CVSS
- 6.3
- EPSS
- 0.15% (p2)
- Published
- 2026-11-26
- Age
- 2d old
- Modified
- 2026-11-27
- Product
- web-token jwt-library
- Aliases
- GHSA-4mxj-75j2-j8hc
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Description
web-token jwt-framework before 3.4.13, 4.0.0 before 4.0.9, 4.1.0 before 4.1.11, and 4.2.0 before 4.2.6 does not check oct key length in the AESKW, AESGCMKW, and experimental AESCTR and chacha20-poly1305 key encryption algorithms, so OpenSSL zero-pads short or empty keys. When an application uses an empty key, anyone can unwrap content encryption keys under the all-zero key to read issued tokens and forge accepted ones.
Fixed in
1.2.0 · 3.4.13 · 4.0.9 · 4.1.11 · 4.2.6
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | jwt-encryption | >=0, <1.2.0 | 1.2.0 |
| vendor | jwt-experimental | >=0, <3.4.13 | 3.4.13 |
| vendor | jwt-experimental | >=4.0.0, <4.0.9 | 4.0.9 |
| vendor | jwt-experimental | >=4.1.0, <4.1.11 | 4.1.11 |
| vendor | jwt-experimental | >=4.2.0, <4.2.6 | 4.2.6 |
| vendor | jwt-framework | >=0, <3.4.13 | 3.4.13 |
| vendor | jwt-framework | >=4.0.0, <4.0.9 | 4.0.9 |
| vendor | jwt-framework | >=4.1.0, <4.1.11 | 4.1.11 |
| vendor | jwt-framework | >=4.2.0, <4.2.6 | 4.2.6 |
| vendor | jwt-library | >=0, <3.4.13 | 3.4.13 |
| vendor | jwt-library | >=4.0.0, <4.0.9 | 4.0.9 |
| vendor | jwt-library | >=4.1.0, <4.1.11 | 4.1.11 |
| vendor | jwt-library | >=4.2.0, <4.2.6 | 4.2.6 |
Sources
- NVD · first seen 2d ago · NVD terms of use
- OSV · first seen 2d ago · CC-BY 4.0
- CVE List · first seen 2d ago · CVE Terms of Use
References
- https://github.com/web-token/jwt-framework/security/advisories/GHSA-4mxj-75j2-j8hc vendor-advisory
- https://www.vulncheck.com/advisories/web-token-jwt-framework-before-3.4.13-missing-key-length-check-in-aes-key-wrapping third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137562.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-137562 advisory