Weak key derivation in web-token jwt-framework ECDH-ES via ConcatKDF
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
The web-token jwt-framework and jwt-library packages before 3.4.12, 4.0.x before 4.0.8, 4.1.x before 4.1.10 and 4.2.x before 4.2.4, and jwt-encryption-algorithm-ecdh-es through 3.2.10, are affected. The ConcatKDF::generate() function performs a single SHA-256 round, deriving at most 32 bytes for ECDH-ES key agreement (CWE-325). An attacker holding a JWE that uses A256CBC-HS512 can decrypt it under an all-zero AES key, and A192CBC-HS384 content keys have only 64-bit strength.
Written with Claude Haiku 5.5 from the sources below · 2026-11-21
Description from the CNA
web-token jwt-framework and jwt-library before 3.4.12, 4.0.x before 4.0.8, 4.1.x before 4.1.10, and 4.2.x before 4.2.4, and jwt-encryption-algorithm-ecdh-es through 3.2.10, have a ConcatKDF::generate() that performs a single SHA-256 round, deriving at most 32 bytes for ECDH-ES and ECDH-SS direct key agreement. Anyone holding a JWE using A256CBC-HS512 can decrypt it under an all-zero AES key, while A192CBC-HS384 content keys have only 64-bit strength.
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 | 3.3.0 to before 3.4.12 | 3.4.12 | Patch available | CNA |
| web-token | jwt-library | 4.0.0 to before 4.0.8 | 4.0.8 | Patch available | CNA |
| web-token | jwt-library | 4.1.0 to before 4.1.10 | 4.1.10 | Patch available | CNA |
| web-token | jwt-library | 4.2.0 to before 4.2.4 | 4.2.4 | Patch available | CNA |
| web-token | jwt-framework | before 3.4.12 | 3.4.12 | Patch available | CNA |
| web-token | jwt-framework | 4.0.0 to before 4.0.8 | 4.0.8 | Patch available | CNA |
| web-token | jwt-framework | 4.1.0 to before 4.1.10 | 4.1.10 | Patch available | CNA |
| web-token | jwt-framework | 4.2.0 to before 4.2.4 | 4.2.4 | Patch available | CNA |
| web-token | jwt-encryption-algorithm-ecdh-es | 1.2.0 – 3.2.10 | — | No fix listed | CNA |
- jwt-library Vendorweb-token Affected 3.3.0 to before 3.4.12 Fixed in 3.4.12 Patch available CNA
- jwt-library Vendorweb-token Affected 4.0.0 to before 4.0.8 Fixed in 4.0.8 Patch available CNA
- jwt-library Vendorweb-token Affected 4.1.0 to before 4.1.10 Fixed in 4.1.10 Patch available CNA
- jwt-library Vendorweb-token Affected 4.2.0 to before 4.2.4 Fixed in 4.2.4 Patch available CNA
- jwt-framework Vendorweb-token Affected before 3.4.12 Fixed in 3.4.12 Patch available CNA
- jwt-framework Vendorweb-token Affected 4.0.0 to before 4.0.8 Fixed in 4.0.8 Patch available CNA
- jwt-framework Vendorweb-token Affected 4.1.0 to before 4.1.10 Fixed in 4.1.10 Patch available CNA
- jwt-framework Vendorweb-token Affected 4.2.0 to before 4.2.4 Fixed in 4.2.4 Patch available CNA
- jwt-encryption-algorithm-ecdh-es Vendorweb-token Affected 1.2.0 – 3.2.10 Fixed in — No fix listed CNA
Remediation
Upgrade jwt-framework and jwt-library to 3.4.12, 4.0.8, 4.1.10 or 4.2.4, matching your release line. The sources list no fixed version for jwt-encryption-algorithm-ecdh-es.
Written with Claude Haiku 5.5 from the sources below · 2026-11-21
- Fix · CNA jwt-library (web-token) Fixed in 3.4.12
- Fix · CNA jwt-library (web-token) Fixed in 4.0.8
- Fix · CNA jwt-library (web-token) Fixed in 4.1.10
- Fix · CNA jwt-library (web-token) Fixed in 4.2.4
- Fix · CNA jwt-framework (web-token) Fixed in 3.4.12
- Fix · CNA jwt-framework (web-token) Fixed in 4.0.8
- Fix · CNA jwt-framework (web-token) Fixed in 4.1.10
- Fix · CNA jwt-framework (web-token) Fixed in 4.2.4
Timeline
- 2026-11-21 Threatist record created from CVE-2026-134458
- 2026-11-21 Alias added: GHSA-mvv3-825v-7qm4
- 2026-11-24 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-134458 · CVE Program
- CVE-2026-134458 · NVD
- FIRST EPSS
- GHSA-mvv3-825v-7qm4 · 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