CVE-2026-118764

Medium

Description

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Starting in 7.0.0 and prior to 11.0.1, src/index.ts implements firstPhasePreProcess() so that, at optimizationLevel 2 or higher, it repeatedly expands attacker-controlled **/.. pattern segments inside a fixpoint loop, allowing generated globParts entries to be processed and expanded again. secondPhasePreProcess() then compares the expanded entries pairwise, so a short malicious glob can cause excessive CPU and memory consumption during pattern compilation. This issue is fixed in version 11.0.1.

SeverityMedium
CVSS6.9
Exploit probability—
ProductMinimatch
PublishedOct 29, 2026
First seenNov 4, 2026
Weakness typeCWE-405CWE-405

How to fix

Update
  • minimatch11.0.1 or later

Affected products

ProductAffected versionsFixed in
minimatchnpm7.0.0 ≤ v < 11.0.111.0.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-118764 · Minimatch · Dark Radar