Skip to main content
VulnerabilityPublished

CVE-2026-137564: web-token jwt-library · Inadequate Encryption Strength

Affects web-token jwt-librarySource CVE Database V5

0
Compare

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

Data as of 26 Nov 2026, 16:20 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

Fixed versions are available: 3.4.13, 4.0.9, 4.1.11, and 4.2.6. Users should upgrade to these or later versions to ensure proper key length validation and prevent zero-padding of undersized keys. No other specific mitigations are indicated. Applying the official fixes eliminates the vulnerability.

Description

CVE-2026-137564 affects the web-token jwt-library versions 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, as well as jwt-encryption through 3.2.10. The vulnerability arises because the library does not properly check key length in JWEBuilder and JWEDecrypter for direct encryption, leading to zero-padding of undersized keys. This allows attackers holding tokens issued with half-size AES-CBC-HMAC keys to decrypt them, and empty keys enable forging tokens accepted by the decrypter.

References

Community reviews

Loading reviews…