home / blog

2026-11-01 · medium

CVE-2026-118764: DoS in minimatch globbing

DoS in minimatch via recursive glob pattern expansion. Fixed in 11.0.1.

CVE-2026-118764: DoS in minimatch globbing

CVE-2026-118764 is a Denial of Service vulnerability in minimatch, a widely-used JavaScript library for converting glob expressions into RegExp objects. The flaw lies in the firstPhasePreProcess() function: at optimization level 2 or higher, it repeatedly expands attacker-controlled **/.. pattern segments within a fixed-point loop, generating globParts entries that are then processed and expanded again. The result is uncontrolled CPU and memory consumption during pattern compilation.

The official CVSS score is 6.9 (classified as medium severity by NVD). NVD formally assigned the CVE on October 29, 2026. Minimatch is a highly popular dependency in Node.js and npm ecosystems, integrated into numerous build, testing, and file processing projects. The impact is real: any service accepting unverified glob patterns becomes exposed. A coherent signal comes from GitHub (November 1, 2026), where implementations of the issue have been reported, confirming recognition of the vulnerability within the developer community.

The fix is available in version 11.0.1. Administrators and IT teams must prioritize upgrading minimatch to 11.0.1 or later across all production environments and recursively verify dependencies using npm audit. Risk is highest for systems processing glob patterns from untrusted sources: file uploads, user configuration parsing, dynamic filter construction. Apply the patch urgently and monitor logs for anomalous patterns or resource consumption that could indicate exploitation attempts.

At a glance

What
Denial of Service via recursive expansion of **/.. patterns in firstPhasePreProcess() at optimization level 2 or higher
Severity
CVSS 6.9 (medium)
Affected versions
minimatch below 11.0.1
Fix
Update to minimatch 11.0.1 or later
Status
Published on NVD on 2026-10-29; official patch available; GitHub signals confirm 2026-11-01
Action
Update minimatch in npm dependencies with high priority. Verify manifest in projects processing glob patterns from untrusted input (uploads, configs, parsing).

Sources: NVD, CVE-2026-118764

← All articles