Patch Ticker
EnglishEN
Elevated

minimatch quadratic compile time on long wildcard patterns stalls service

CVE-2026-140008

A file-path pattern tool can freeze, cutting off service.

CVE
CVE-2026-140008 (opens in a new tab)
Score
CVSS 8.7
First seen
8.7
Products

Mitigation

Programs using minimatch 11.0.0 through 11.0.6 should update to minimatch 11.0.7 or later. Because minimatch is a library, update the program that contains it.

Summary

minimatch, an npm library that turns glob patterns into regular expressions, takes quadratic time on very long wildcard path patterns, which can block the JavaScript event loop. Versions 11.0.0 through 11.0.6 are affected.

Affected when

A program lets an attacker supply patterns that minimatch compiles

3 other Incidents of this product in the last 30 days

Incidents by product: minimatch

Read the advisory · github.com (opens in a new tab)