CVE-2026-140008

8.7High

Published Nov 30, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

8.7CVSS

High

0CVSS v4.010

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on availability
Weakness
CWE-407

What an attacker gets

Remote attackers can cause a denial of service by blocking the JavaScript event loop. They only need to supply specially crafted, long wildcard-only glob patterns to the application.

Root cause

The mergeRows function performs redundant copies and joins of pattern rows, leading to quadratic time complexity during regex compilation.

Affected versions

minimatch 11.0.0 through 11.0.6

CVSS v4.0 · 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

Fix & remediation

Upgrade to minimatch version 11.0.7 or later. If you cannot upgrade, sanitize user-supplied glob patterns to limit length and wildcard complexity before passing them to the library.

remediation — bash
$ npm install minimatch@latest

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-140008

More fully triaged vulnerabilities you may want to check next.