CVE-2026-137564

high

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.

References

https://www.vulncheck.com/advisories/web-token-jwt-framework-before-3.4.13-missing-key-size-check-in-direct-encryption

https://github.com/web-token/jwt-framework/security/advisories/GHSA-jc6j-46g2-xwqc

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-136750

Details

Source: Mitre, NVD

Published: 2026-11-26

Updated: 2026-11-27

CVSS v3

Base Score: 5.9

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Severity: Medium

CVSS v4

Base Score: 8.2

Vector: 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

Severity: High

EPSS

EPSS: 0.001