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

Published Updated

CVSS score

Medium

6.3/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
4.2.6, 4.1.11, 4.0.9 +1
Attack path
Over the network
No login, no user action

What is CVE-2026-137562?

CVE-2026-137562 is a medium-severity vulnerability in web-token jwt-encryption, published on 26 Nov 2026.

Official 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.

Weakness: CWE-326

How severe is CVE-2026-137562?

CVE-2026-137562 scores 6.3 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None

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

Which versions are affected by CVE-2026-137562?

16 open source packages ship an affected version, including web-token/jwt-experimental, web-token/jwt-encryption and web-token/jwt-encryption-algorithm-aesgcmkw.

PackageAffectedFixed in
web-token/jwt-experimental Packagist
pkg:composer/web-token/jwt-experimental
All versions3.4.13
web-token/jwt-experimental Packagist
pkg:composer/web-token/jwt-experimental
From 4.0.04.0.9
web-token/jwt-experimental Packagist
pkg:composer/web-token/jwt-experimental
From 4.1.04.1.11
web-token/jwt-experimental Packagist
pkg:composer/web-token/jwt-experimental
From 4.2.04.2.6
web-token/jwt-encryption Packagist
pkg:composer/web-token/jwt-encryption
All versions1.2.0
web-token/jwt-encryption-algorithm-aesgcmkw Packagist
pkg:composer/web-token/jwt-encryption-algorithm-aesgcmkw
All versions to 3.2.10None
More packages 10
web-token/jwt-encryption-algorithm-aeskw Packagist
pkg:composer/web-token/jwt-encryption-algorithm-aeskw
All versions to 3.2.10None
web-token/jwt-encryption-algorithm-experimental Packagist
pkg:composer/web-token/jwt-encryption-algorithm-experimental
All versions to 3.2.10None
web-token/jwt-framework Packagist
pkg:composer/web-token/jwt-framework
All versions3.4.13
web-token/jwt-framework Packagist
pkg:composer/web-token/jwt-framework
From 4.0.04.0.9
web-token/jwt-framework Packagist
pkg:composer/web-token/jwt-framework
From 4.1.04.1.11
web-token/jwt-framework Packagist
pkg:composer/web-token/jwt-framework
From 4.2.04.2.6
web-token/jwt-library Packagist
pkg:composer/web-token/jwt-library
All versions3.4.13
web-token/jwt-library Packagist
pkg:composer/web-token/jwt-library
From 4.0.04.0.9
web-token/jwt-library Packagist
pkg:composer/web-token/jwt-library
From 4.1.04.1.11
web-token/jwt-library Packagist
pkg:composer/web-token/jwt-library
From 4.2.04.2.6

How do I fix CVE-2026-137562?

Upgrade web-token/jwt-experimental to a fixed version for your release line: 4.2.6, 4.1.11, 4.0.9 or 3.4.13.

Is CVE-2026-137562 being exploited?

There is no known exploitation of CVE-2026-137562 in the wild and no public exploit code.

Sources

Also known as GHSA-4mxj-75j2-j8hc, GHSA-ggpq-gv47-f38q.

Is CVE-2026-137562 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free