Skip to main content
CVE-2026-137564VulnerabilityPublished

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

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-137564· High 8.2

Not known to be exploited · CVSS 8.2 High · fixed in 4.2.6 : patch jwt-library soon.

Data as of 27 Nov 2026, 01:50 UTC

CVSS 4.0 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.08.2
CNA (VulnCheck)CVSS 3.15.9
Patch
Available – fixed in 4.2.6, 4.1.11, 4.0.9 +1
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.

What to do

Upgrade jwt-library and jwt-framework to 4.2.6, 4.1.11, 4.0.9 or 3.4.13.

Affected software

ProductAffectedFixed in
web-tokenjwt-libraryAffected
  • >=4.2.0 <4.2.6
Fixed in
  • 4.2.6
web-tokenjwt-libraryAffected
  • >=4.1.0 <4.1.11
Fixed in
  • 4.1.11
web-tokenjwt-libraryAffected
  • >=4.0.0 <4.0.9
Fixed in
  • 4.0.9
web-tokenjwt-libraryAffected
  • <3.4.13
Fixed in
  • 3.4.13
web-tokenjwt-frameworkAffected
  • >=4.2.0 <4.2.6
Fixed in
  • 4.2.6
web-tokenjwt-frameworkAffected
  • >=4.1.0 <4.1.11
Fixed in
  • 4.1.11

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, avoid using direct (dir) encryption with undersized or empty keys in affected versions.

Description

The web-token jwt-framework and jwt-library versions prior to 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 have a vulnerability where the key length is not properly checked in JWEBuilder and JWEDecrypter for direct encryption. This results in undersized keys being zero-padded, allowing attackers with a half-size AES-CBC-HMAC key to decrypt tokens or forge tokens if the key is empty.

References

Community reviews

Loading reviews…