CVE-2026-137561: Web-Token jwt-framework before 3.4.13 JWE Token Malleability via Non-Empty Encrypted Key
Web-Token jwt-framework and jwt-library 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, and jwt-encryption through 3.2.10, contain a token malleability flaw because JWEDecrypter does not reject a non-empty JWE Encrypted Key with the dir, ECDH-ES and ECDH-SS algorithms, which the authentication tag does not cover. Attackers holding one token can fill the Encrypted Key with arbitrary bytes to derive unlimited distinct token strings that still decrypt, bypassing replay caches, single-use registries or revocation deny-lists keyed on the token string.
Affected Software
Event History
Frequently Asked Questions
Which package versions include the fix?
Upgrade jwt-framework to 3.4.13 or later, jwt-library to 4.0.9, 4.1.11, or 4.2.6 or later within the applicable release line, and jwt-encryption beyond 3.2.10.
What deployments are realistically exposed?
Exposure requires JWE processing with the dir, ECDH-ES, or ECDH-SS algorithms and security controls that identify tokens by their raw token string. Replay caches, single-use token registries, and revocation deny-lists keyed on the token string can be bypassed.
What does an attacker need to exploit this issue?
The attacker must possess a valid token. They can alter its Encrypted Key field with arbitrary bytes to create distinct token strings that continue to decrypt.