Intel

AIKIDO-2026-996971

minimatch is vulnerable to Denial of Service (DoS)

GHSA-cf2h-pxjq-68xwPublished 4 days ago
November 16, 2026

53

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

Compiling a pattern with many wildcard path parts makes mergeRows() repeatedly join each full row to form map keys. A user controlled long pattern therefore takes quadratic time to compile and can consume substantial CPU before matching begins. The fix builds merge keys incrementally, making this work linear in row size.

How do I fix this?

Upgrade the minimatch library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

11.0.0 - 11.0.6

Fixed in 11.0.7

Background info

minimatch is vulnerable to Denial of Service (DoS) in versions 11.0.0 - 11.0.6.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea