Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › JavaScript

CVE-2026-140007 — isaacs minimatch

Medium · CVSS 5.9 First seen November 30, 2026

One of 3 isaacs minimatch vulnerabilities published together by NVD: our article covers all of them.

JavaScriptWebVulnerabilities

Summary

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.3 until 11.0.8, the top-level minimatch() function stores compiled Minimatch objects in a module-level 256-entry Map whose entries are bounded by count but not by retained expansion weight below the braceExpandMax ceiling. An application that accepts unique attacker-controlled glob patterns can retain objects containing up to 100,000 expanded rows per entry, causing memory exhaustion and process termination; direct construction with new Minimatch() is not affected by this cache behavior. This issue is fixed in version 11.0.8.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 5.9 CVSS 3.1 base score from the CNA (github.com)

An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.

Attack from
the network (remotely)
Attack complexity
high (only works under specific conditions)
Login needed
no
User action needed
no
Scope
stays within the vulnerable component
Impact
high on availability, none on confidentiality and integrity

Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Affected and fixed versions

ProductAffected versionsFixed in
isaacs minimatch>= 11.0.3, < 11.0.8—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Details from NVD (public domain).

Affected

  • isaacs minimatch

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-140007?

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.3 until 11.0.8, the top-level minimatch() function stores compiled Minimatch objects in a module-level 256-entry Map whose entries are bounded by count but not by retained expansion weight below the braceExpandMax ceiling. Weakness type: Uncontrolled Resource Consumption (CWE-400).

How severe is CVE-2026-140007?

CVE-2026-140007 has a CVSS 3.1 base score of 5.9 (medium), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.

Is CVE-2026-140007 being exploited?

Not as far as is known: CVE-2026-140007 is not in CISA's Known Exploited Vulnerabilities catalog as of December 1, 2026.

Which versions are affected by CVE-2026-140007?

isaacs minimatch >= 11.0.3, < 11.0.8.

How do I fix CVE-2026-140007?

Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.

Timeline & sources

References

Related vulnerabilities & news