What is CVE-2026-137564?
CVE-2026-137564 is a high-severity vulnerability in web-token jwt-encryption, published on 26 Nov 2026.
Official description
web-token jwt-framework and jwt-library before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6 (and jwt-encryption through 3.2.10) do not check the key length in JWEBuilder and JWEDecrypter for direct (dir) encryption, so undersized keys are zero-padded. Anyone holding a token issued with a half-size AES-CBC-HMAC key can decrypt it, and an empty key also allows forging tokens the decrypter accepts.
Weakness: CWE-326
How severe is CVE-2026-137564?
CVE-2026-137564 scores 8.2 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- None
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Which versions are affected by CVE-2026-137564?
9 open source packages ship an affected version, including web-token/jwt-framework, web-token/jwt-encryption and web-token/jwt-library.
| Package | Affected | Fixed in |
|---|---|---|
web-token/jwt-framework Packagistpkg:composer/web-token/jwt-framework | All versions | 3.4.13 |
web-token/jwt-framework Packagistpkg:composer/web-token/jwt-framework | From 4.0.0 | 4.0.9 |
web-token/jwt-framework Packagistpkg:composer/web-token/jwt-framework | From 4.1.0 | 4.1.11 |
web-token/jwt-framework Packagistpkg:composer/web-token/jwt-framework | From 4.2.0 | 4.2.6 |
web-token/jwt-encryption Packagistpkg:composer/web-token/jwt-encryption | All versions to 3.2.10 | None |
web-token/jwt-library Packagistpkg:composer/web-token/jwt-library | All versions | 3.4.13 |
More packages 3
web-token/jwt-library Packagistpkg:composer/web-token/jwt-library | From 4.0.0 | 4.0.9 |
web-token/jwt-library Packagistpkg:composer/web-token/jwt-library | From 4.1.0 | 4.1.11 |
web-token/jwt-library Packagistpkg:composer/web-token/jwt-library | From 4.2.0 | 4.2.6 |
How do I fix CVE-2026-137564?
Upgrade web-token/jwt-framework to a fixed version for your release line: 4.2.6, 4.1.11, 4.0.9 or 3.4.13.
Is CVE-2026-137564 being exploited?
There is no known exploitation of CVE-2026-137564 in the wild and no public exploit code.
Sources
Also known as GHSA-jc6j-46g2-xwqc, GHSA-qj8f-r39j-gvfh.