Home › CVE › JavaScript
CVE-2026-140008 — isaacs minimatch
One of 3 isaacs minimatch vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWebVulnerabilitiesFunding & M&ASummary
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.
Severity breakdown
High · 8.7
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
Weakness
- CWE-407: Inefficient Algorithmic Complexity
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| isaacs minimatch | >= 11.0.0, < 11.0.7 | — |
References by type
Vendor advisories
Patches and fixed releases
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.