CVE-2026-140008minimatch Vulnerability
minimatch: Quadratic compile time for long wildcard patterns (regression in 11.0.0 mergeRows)
Published Nov 30, 2026 · Updated Dec 2, 2026 · Also known as EUVD-2026-139733, GHSA-cf2h-pxjq-68xw
Key Facts
Patch in the next maintenance window- CVE-2026-140008 is a high-severity vulnerability (CVSS 8.7 v4) affecting vitess-23 (chainguard), vitess-24 (chainguard), minimatch (npm).
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 0.8% probability of exploitation in the next 30 days.
- Fixed versions are available, including minimatch 11.0.7, vitess-23 23.0.8-r10, vitess-24 24.0.5-r17.
- Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Scores
CVSS v4
8.7
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
EPSS (30-day exploit likelihood)
0.8%
Higher than 59.0% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
38/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
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.
Affected Products
4 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| vitess-23chainguard | See advisory | 23.0.8-r10 |
| vitess-24chainguard | See advisory | 24.0.5-r17 |
| minimatchnpm | >= 11.0.0, >= 11.0.0, | 11.0.7 |
Patched Releases
minimatch
11.0.7
vitess-23
23.0.8-r10
vitess-24
24.0.5-r17
Timeline
Publicly disclosed
Nov 30, 2026
Last updated
Dec 2, 2026
Weakness Type
- CWE-407 Inefficient Algorithmic Complexity
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2026-140008
- advisoryGHSA advisory
- othergithub.com · minimatch
- otherhttps://github.com/isaacs/minimatch/commit/8a26917fa43e2b865dd6017f7acf6ac2fd5190cd
FAQ
Common Questions.
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects.
Affected: vitess-23 (chainguard); vitess-24 (chainguard); minimatch (npm) versions >= 11.0.0, >= 11.0.0,. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including minimatch 11.0.7, vitess-23 23.0.8-r10, vitess-24 24.0.5-r17.
Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Is CVE-2026-140008 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo