CVE-2026-140008: Vulnerability in Isaacs Minimatch

Patch soon. minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.0 until 11.0.7, mergeRows() in src/index.ts repeatedly copies and joins an entire pattern row while iterating each wildcard position, causing quadratic compilation time for long wildcard-only path patterns even when only one row exists. An attacker who can supply uncached patterns to new Minimatch or...

npm, CWE-407

Exploitation
None confirmed
Severity
8.7 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-cf2h-pxjq-68xw
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-407
Published
30 Nov 2026
Last change
1 Dec 2026
Ecosystem
npm

Affected products

Affected versions and the first fixed release

  • Isaacs Minimatch From 11.0.0, before 11.0.7; Version >= 11.0.0, < 11.0.7. Fixed in 11.0.7

Affected packages

Vulnerable version ranges and fixed releases

  • minimatch npm, Affected from 11.0.0 through 11.0.6. Fixed in 11.0.7

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related