Resource exhaustion in minimatch - CVE-2026-118764
Published: November 9, 2026
Vulnerability details
The vulnerability allows an attacker who can supply a glob pattern to cause denial of service through excessive CPU and memory consumption.
The vulnerability exists due to uncontrolled pattern amplification during minimatch preprocessing when optimizationLevel is set to 2 or higher. An attacker who can supply a glob pattern can submit crafted **/../ sequences that expand into numerous entries and trigger costly pairwise processing.