Skip to main content
CVE-2026-137581VulnerabilityPublished

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

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-137581· 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:N/VI:N/VA:H/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, consider implementing input size limits or validation on JWT tokens before decoding to mitigate potential denial of service.

Description

A denial of service vulnerability exists in web-token jwt-framework and 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 in jwt-encryption and jwt-signature through 3.2.10. The issue arises because JWS and JWE serializers pass attacker-controlled tokens and protected headers to json_decode() without bounds prior to verification. This allows unauthenticated attackers to submit large tokens with colliding header member names or deeply nested arrays, causing quadratic decoding time or fatal memory exhaustion, leading to denial of service.

References

Community reviews

Loading reviews…