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

Published Nov 26, 2026
·
Updated

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 Software

1 affected component
composer/web-token/jwt-framework<3.4.13, >=4.0.0<4.0.9, >=4.1.0<4.1.11, >=4.2.0<4.2.6

Event History

Nov 26, 2026
CVE Published
via MITRE·03:59 PM
Data Sourced
via MITRE·03:59 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:18 PM
DescriptionSeverityWeakness
Event
via NVD·04:18 PM

Frequently Asked Questions

1

Which deployments are realistically exposed to token disclosure or forgery?

Deployments using the affected key-encryption algorithms with an empty oct key are exposed. In that case, an attacker can use the all-zero key to unwrap content-encryption keys, read issued tokens, and forge tokens that the application accepts.

2

What does an attacker need to exploit this issue?

The described impact requires the application to use an empty key with AESKW, AESGCMKW, experimental AESCTR, or chacha20-poly1305 key encryption. No privileges or user interaction are required according to the provided vector.

3

How can I determine whether my application is affected?

Check whether it uses composer/web-token/jwt-framework in a vulnerable version range, uses one of the affected key-encryption algorithms, and supplies an empty oct key. Short keys are zero-padded by OpenSSL as well, but the provided impact specifically identifies empty keys as enabling token reading and forgery.

4

What versions should be used to remediate the issue?

Upgrade to 3.4.13 or later in the 3.x line, 4.0.9 or later in the 4.0 line, 4.1.11 or later in the 4.1 line, or 4.2.6 or later in the 4.2 line.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203