Skip to content
Emerging threatsHigh

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

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
ProductAffected versionsFixed in
vitess-23chainguardSee advisory23.0.8-r10
vitess-24chainguardSee advisory24.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

  1. Publicly disclosed

    Nov 30, 2026

  2. Last updated

    Dec 2, 2026

Weakness Type

  • CWE-407 Inefficient Algorithmic Complexity

FAQ

Common Questions.

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

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.