Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › JavaScript

CVE-2026-140008 — isaacs minimatch

High · CVSS 8.7 First seen November 30, 2026

One of 3 isaacs minimatch vulnerabilities published together by NVD: our article covers all of them.

JavaScriptWebVulnerabilitiesFunding & M&A

Summary

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.0 until 11.0.7, mergeRows() in src/index.ts repeatedly copies and joins an entire pattern row while iterating each wildcard position, causing quadratic compilation time for long wildcard-only path patterns even when only one row exists. An attacker who can supply uncached patterns to new Minimatch or another compiling entry point can block the JavaScript event loop and cause a denial of service, with brace-generated rows further multiplying the work. This issue is fixed in version 11.0.7.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 8.7 CVSS 4.0 base score from the CNA (github.com)

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Special conditions
none
Login needed
no
User action needed
no
Impact
high on availability, none on confidentiality and integrity
Impact on other systems
none

Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Weakness

  • CWE-407: Inefficient Algorithmic Complexity

Affected and fixed versions

ProductAffected versionsFixed in
isaacs minimatch>= 11.0.0, < 11.0.7—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Details from NVD (public domain).

Affected

  • isaacs minimatch

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-140008?

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.0 until 11.0.7, mergeRows() in src/index.ts repeatedly copies and joins an entire pattern row while iterating each wildcard position, causing quadratic compilation time for long wildcard-only path patterns even when only one row exists. Weakness type: Inefficient Algorithmic Complexity (CWE-407).

How severe is CVE-2026-140008?

CVE-2026-140008 has a CVSS 4.0 base score of 8.7 (high), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-140008 being exploited?

Not as far as is known: CVE-2026-140008 is not in CISA's Known Exploited Vulnerabilities catalog as of December 1, 2026.

Which versions are affected by CVE-2026-140008?

isaacs minimatch >= 11.0.0, < 11.0.7.

How do I fix CVE-2026-140008?

Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.

Timeline & sources

References

Related vulnerabilities & news