Live threats

All CVEs / Minimatch Project

CVE-2026-26996Minimatch Project Minimatch

High 8.7 No auth needed

Priority
67
CVSS 4.0
8.7
EPSS
—
Auth required
No
Published
Feb 20, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Versions 10.2.0 and below are vulnerable to Regular Expression Denial of Service (ReDoS) when a glob pattern contains many consecutive * wildcards followed by a literal character that doesn't appear in the test string. Each * compiles to a separate [^/]*? regex group, and when the match fails, V8's regex engine backtracks exponentially across all possible splits. The time complexity is O(4^N) where N is the number of * characters. With N=15, a single minimatch() call takes ~2 seconds. With N=34, it hangs effectively forever. Any application that passes user-controlled strings to minimatch() as the pattern argument is vulnerable to DoS. This issue has been fixed in version 10.2.1.

Original NVD text.

What to do

  1. Apply the vendor's security update for Minimatch.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm minimatch ≥ 10.0.0 < 10.2.1 10.2.1 npm install minimatch@10.2.1
npm minimatch ≥ 9.0.0 < 9.0.6 9.0.6 npm install minimatch@9.0.6
npm minimatch ≥ 8.0.0 < 8.0.5 8.0.5 npm install minimatch@8.0.5
npm minimatch ≥ 7.0.0 < 7.4.7 7.4.7 npm install minimatch@7.4.7
npm minimatch ≥ 6.0.0 < 6.2.1 6.2.1 npm install minimatch@6.2.1
npm minimatch ≥ 5.0.0 < 5.1.7 5.1.7 npm install minimatch@5.1.7
npm minimatch ≥ 4.0.0 < 4.2.4 4.2.4 npm install minimatch@4.2.4
npm minimatch < 3.1.3 3.1.3 npm install minimatch@3.1.3

Per OSV / GitHub Advisories (GHSA-3ppc-4f35-3m26). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
minimatch_projectminimatch≥ 3.0.0 < 3.1.3
minimatch_projectminimatch≥ 4.0.0 < 4.2.4
minimatch_projectminimatch≥ 5.0.0 < 5.1.7
minimatch_projectminimatch≥ 6.0.0 < 6.2.1
minimatch_projectminimatch≥ 7.0.0 < 7.4.7
minimatch_projectminimatch≥ 8.0.0 < 8.0.5
minimatch_projectminimatch≥ 9.0.0 < 9.0.6
minimatch_projectminimatch≥ 10.0.0 < 10.2.1

Official advisories

Also: SUSE (+30), Red Hat (+13)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.