CVE-2026-137562

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

Published Nov 26, 2026 CVSS 4.0 · 6.3 Medium EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title web-token jwt-framework before 3.4.13 Missing Key Length Check in AES Key Wrapping
First Time appeared Nats
Nats jwt Library
Weaknesses CWE-326
CPEs cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*
Vendors & Products Nats
Nats jwt Library
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 26, 2026, 3:59 PM
Reserved
Nov 26, 2026, 12:48 PM
Status
Received
Published
Nov 26, 2026, 4:18 PM
Modified
Nov 26, 2026, 4:18 PM