CVE-2026-140008: minimatch: Quadratic compile time for long wildcard patterns (regression in 11.0.0 `mergeRows`)
Vulnerability summary
CVE-2026-140008 is a high (CVSS 8.7) Inefficient Algorithmic Complexity vulnerability in isaacs minimatch. EPSS estimates a 0.84% chance of exploitation in the next 30 days, higher than 59% of scored vulnerabilities.
Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 30-11-2026PublishedVulnerability first disclosed.
- 01-12-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- NVDNIST8.7HighCVSS: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
- OSV · NpmEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated8.7HighCVSS: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 trend
Probability
0.84%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard35 products
- actions-runnerAll versions (No fix recorded)
- arangodb-3.11All versions (No fix recorded)
- arangodb-3.12All versions (No fix recorded)
- authentik-2026.5All versions (No fix recorded)
- authentik-fips-2026.5All versions (No fix recorded) | < 2026.5.9-r3
Wolfi7 products
- lernaAll versions (No fix recorded)
- nextcloud-server-33All versions (No fix recorded) | < 33.0.11-r2
- npm-12All versions (No fix recorded) | < 12.2.3-r2
- prismAll versions (No fix recorded) | < 5.16.0-r27
- ts-patchAll versions (No fix recorded)
Isaacs1 product
- minimatch≥ 11.0.0, < 11.0.7
Npm1 product
- minimatch≥ 11.0.0, < 11.0.7
Ubuntu1 product
- node-minimatchAll versions (No fix recorded)
5 vendors · 45 products
References
7 links- github.com/isaacs/minimatch/security/advisories/GHSA-cf2h-pxjq-68xwX Refsource CONFIRMWEBAdvisoryREPORT
- github.com/isaacs/minimatchPACKAGE