Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134458: high-severity vulnerability (CVSS 8.2) in web-token jwt-library.
What happened
Original description from the source: 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
High severity, CVSS 8.2.
Affected products and versions
web-token jwt-library >= 3.3.0, < 3.4.12; web-token jwt-library 3.4.12 (fixed in 3.4.12); web-token jwt-library >= 4.0.0, < 4.0.8; web-token jwt-library 4.0.8 (fixed in 4.0.8); web-token jwt-library >= 4.1.0, < 4.1.10; web-token jwt-library 4.1.10 (fixed in 4.1.10); web-token jwt-library >= 4.2.0, < 4.2.4; web-token jwt-library 4.2.4 (fixed in 4.2.4); web-token jwt-framework < 3.4.12; web-token jwt-framework 3.4.12 (fixed in 3.4.12); web-token jwt-framework >= 4.0.0, < 4.0.8; web-token jwt-framework 4.0.8 (fixed in 4.0.8)
| Product | Versions | Fixed in |
|---|---|---|
| web-token jwt-library | >= 3.3.0, < 3.4.12 | — |
| web-token jwt-library | 3.4.12 | 3.4.12 |
| web-token jwt-library | >= 4.0.0, < 4.0.8 | — |
| web-token jwt-library | 4.0.8 | 4.0.8 |
| web-token jwt-library | >= 4.1.0, < 4.1.10 | — |
| web-token jwt-library | 4.1.10 | 4.1.10 |
| web-token jwt-library | >= 4.2.0, < 4.2.4 | — |
| web-token jwt-library | 4.2.4 | 4.2.4 |
| web-token jwt-framework | < 3.4.12 | — |
| web-token jwt-framework | 3.4.12 | 3.4.12 |
| web-token jwt-framework | >= 4.0.0, < 4.0.8 | — |
| web-token jwt-framework | 4.0.8 | 4.0.8 |
| web-token jwt-framework | >= 4.1.0, < 4.1.10 | — |
| web-token jwt-framework | 4.1.10 | 4.1.10 |
| web-token jwt-framework | >= 4.2.0, < 4.2.4 | — |
| web-token jwt-framework | 4.2.4 | 4.2.4 |
| web-token jwt-encryption-algorithm-ecdh-es | >= 1.2.0, <= 3.2.10 | — |
Action recommended by the source
Upgrade to a fixed version: 3.4.12, 4.0.8, 4.1.10, 4.2.4.
Fixed in: 3.4.12, 4.0.8, 4.1.10, 4.2.4
Sources and references
- https://github.com/web-token/jwt-framework/security/advisories/GHSA-5pj7-wx9m-cjh6 — CVE Program
- https://www.vulncheck.com/advisories/web-token-jwt-framework-before-3.4.12-ecdh-es-weak-key-derivation-via-concatkdf — CVE Program
Weaknesses (CWE): CWE-325
Relevant change history
Published
Preliminary advisory published.