CVE-2026-140008
8.7HighPublished Nov 30, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
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.
$ npm install minimatch@latestAI-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
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-759388.8HighAttackers with code execution on a newly provisioned PowerVS worker can steal an IBM IAM bearer token embedded in user-data. This allows them to escalate privileges and manipulate all infrastructure managed by that API key.
- CVE-2026-1400169.1CriticalUnauthenticated remote attackers can crash the server or duplicate application messages. This requires no user interaction or authentication.
- CVE-2026-1400157.5HighUnauthenticated remote attackers can crash your service by exhausting memory. They only need to send a stream of bytes after a WebSocket close frame to trigger the leak.
- CVE-2026-1400117.5HighUnauthenticated remote attackers can trigger a denial of service via memory exhaustion. They do this by sending highly compressible WebSocket messages that bypass configured size limits.
- CVE-2026-1400108.7HighUnauthenticated attackers can trigger a denial-of-service by causing high CPU usage. They only need to send a specially crafted HTML payload to an application using the vulnerable minifier.
- CVE-2026-1400097.5HighRemote attackers can crash your Node.js application by sending a flood of Ping frames. This causes the process to exhaust memory by buffering unconstrained Pong responses.