CVE-2026-137562
JSON

6.3medium

web-token jwt-framework before 3.4.13 Missing Key Length Check in AES Key Wrapping

Severity
6.3medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

web-token jwt-framework 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 does not check oct key length in the AESKW, AESGCMKW, and experimental AESCTR and chacha20-poly1305 key encryption algorithms, so OpenSSL zero-pads short or empty keys. When an application uses an empty key, anyone can unwrap content encryption keys under the all-zero key to read issued tokens and forge accepted ones.

Affected

Product or packageVersionsReported by
web-token jwt-librarybefore 3.4.13, from 4.0.0 before 4.0.9, from 4.1.0 before 4.1.11, from 4.2.0 before 4.2.6
Not affected: 3.4.13, 4.0.9, 4.1.11, 4.2.6
CVE List
web-token jwt-frameworkbefore 3.4.13, from 4.0.0 before 4.0.9, from 4.1.0 before 4.1.11, from 4.2.0 before 4.2.6
Not affected: 3.4.13, 4.0.9, 4.1.11, 4.2.6
CVE List
web-token jwt-experimentalbefore 3.4.13, from 4.0.0 before 4.0.9, from 4.1.0 before 4.1.11, from 4.2.0 before 4.2.6
Not affected: 3.4.13, 4.0.9, 4.1.11, 4.2.6
CVE List
web-token jwt-encryptionbefore 1.2.0
Not affected: 1.2.0
CVE List
web-token jwt-encryption-algorithm-aeskwup to 3.2.10CVE List
web-token jwt-encryption-algorithm-aesgcmkwup to 3.2.10CVE List
web-token jwt-encryption-algorithm-experimentalup to 3.2.10CVE List

All scores

VulnCheck6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
VulnCheck4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Classification

CWE-326

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-137562 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-137562 changed 2026-11-30Public domain