Missing key length check in web-token jwt-framework AES key wrapping
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-326.
Summary
web-token jwt-framework and jwt-library before 3.4.13, from 4.0.0 before 4.0.9, from 4.1.0 before 4.1.11, and from 4.2.0 before 4.2.6 do not check the length of oct keys in their AES key wrapping algorithms, so OpenSSL zero-pads short or empty keys (CWE-326). When an application uses an empty key, an unauthenticated remote attacker can unwrap content encryption keys under the all-zero key, read issued tokens and forge accepted ones.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| web-token | jwt-library | before 3.4.13; 4.0.0 to before 4.0.9; 4.1.0 to before 4.1.11; 4.2.0 to before 4.2.6 | 3.4.13, 4.0.9, 4.1.11, 4.2.6 | Patch available | CNA |
| web-token | jwt-framework | before 3.4.13; 4.0.0 to before 4.0.9; 4.1.0 to before 4.1.11; 4.2.0 to before 4.2.6 | 3.4.13, 4.0.9, 4.1.11, 4.2.6 | Patch available | CNA |
| web-token | jwt-experimental | before 3.4.13; 4.0.0 to before 4.0.9; 4.1.0 to before 4.1.11; 4.2.0 to before 4.2.6 | 3.4.13, 4.0.9, 4.1.11, 4.2.6 | Patch available | CNA |
| web-token | jwt-encryption | before 1.2.0 | 1.2.0 | Patch available | CNA |
| web-token | jwt-encryption-algorithm-aeskw | up to 3.2.10 | — | No fix listed | CNA |
| web-token | jwt-encryption-algorithm-aesgcmkw | up to 3.2.10 | — | No fix listed | CNA |
| web-token | jwt-encryption-algorithm-experimental | up to 3.2.10 | — | No fix listed | CNA |
- jwt-library Vendorweb-token Affected before 3.4.13; 4.0.0 to before 4.0.9; 4.1.0 to before 4.1.11; 4.2.0 to before 4.2.6 Fixed in 3.4.13, 4.0.9, 4.1.11, 4.2.6 Patch available CNA
- jwt-framework Vendorweb-token Affected before 3.4.13; 4.0.0 to before 4.0.9; 4.1.0 to before 4.1.11; 4.2.0 to before 4.2.6 Fixed in 3.4.13, 4.0.9, 4.1.11, 4.2.6 Patch available CNA
- jwt-experimental Vendorweb-token Affected before 3.4.13; 4.0.0 to before 4.0.9; 4.1.0 to before 4.1.11; 4.2.0 to before 4.2.6 Fixed in 3.4.13, 4.0.9, 4.1.11, 4.2.6 Patch available CNA
- jwt-encryption Vendorweb-token Affected before 1.2.0 Fixed in 1.2.0 Patch available CNA
- jwt-encryption-algorithm-aeskw Vendorweb-token Affected up to 3.2.10 Fixed in — No fix listed CNA
- jwt-encryption-algorithm-aesgcmkw Vendorweb-token Affected up to 3.2.10 Fixed in — No fix listed CNA
- jwt-encryption-algorithm-experimental Vendorweb-token Affected up to 3.2.10 Fixed in — No fix listed CNA
Remediation
Upgrade web-token jwt-library, jwt-framework and jwt-experimental to 3.4.13, 4.0.9, 4.1.11 or 4.2.6 for the matching release line, and upgrade web-token jwt-encryption to 1.2.0. The sources list no fixed version for web-token jwt-encryption-algorithm-aeskw. The sources list no fixed version for web-token jwt-encryption-algorithm-aesgcmkw. The sources list no fixed version for web-token jwt-encryption-algorithm-experimental.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
- Fix · CNA jwt-library (web-token) Fixed in 3.4.13, 4.0.9, 4.1.11, 4.2.6
- Fix · CNA jwt-framework (web-token) Fixed in 3.4.13, 4.0.9, 4.1.11, 4.2.6
- Fix · CNA jwt-experimental (web-token) Fixed in 3.4.13, 4.0.9, 4.1.11, 4.2.6
- Fix · CNA jwt-encryption (web-token) Fixed in 1.2.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
web-token jwt-framework, jwt-library 3.4.13, 4.0.9 and 2 more versions
10 records Highest priority Priority LOW 10 LOW
Other records, highest priority first
- TI-2026-98993 Denial of service in web-token jwt-framework JWE and JWS loadersPriority LOW 36
- TI-2026-98991 Denial of service in web-token JWT parsing of JSON General tokensPriority LOW 36
- TI-2026-98992 Denial of service in web-token jwt-framework through JSON decodingPriority LOW 35
Timeline
- 2026-11-26 Threatist record created from CVE-2026-137562
- 2026-11-27 Alias added: GHSA-ggpq-gv47-f38q
- 2026-11-30 CISA SSVC decision points changed
References
More web-token vulnerabilities
- TI-2026-96428 Uncontrolled resource use in Web-Token jwt-framework and jwt-library CVSS 4.0HIGH 8.7
- TI-2026-98993 Denial of service in web-token jwt-framework JWE and JWS loaders CVSS 4.0HIGH 8.2
- TI-2026-98991 Denial of service in web-token JWT parsing of JSON General tokens CVSS 4.0HIGH 8.2
- TI-2026-98992 Denial of service in web-token jwt-framework through JSON decoding CVSS 4.0HIGH 8.2
- TI-2026-98990 RSA private key timing side channel in web-token jwt-framework CVSS 4.0HIGH 8.2
- TI-2026-98985 Denial of service in web-token jwt-framework via unbounded RSA keys CVSS 4.0HIGH 8.2
Sources
- CVE-2026-137562 · CVE Program
- CVE-2026-137562 · NVD
- FIRST EPSS
- GHSA-ggpq-gv47-f38q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences