Home / isaacs / minimatch / CVE-2026-140006
CVE-2026-140006: is it exploited, and which versions of isaacs minimatch are affected and fixed?
CVE-2026-140006 is an improper output encoding vulnerability in isaacs minimatch. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:39 UTC). Affected: minimatch from 7.4.0 before 11.0.8 (GitHub advisory GHSA-c859-jr93-m5j4). Fixed in 11.0.8 (GitHub advisory GHSA-c859-jr93-m5j4). Severity: Medium (5.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record December 1, 2026, 19:21 UTC and NVD December 1, 2026, 21:12 UTC.
What is CVE-2026-140006?
minimatch: minimatch.escape() output matches more or less than the literal input
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 7.4.0 until 11.0.8, minimatch.escape() can produce patterns that do not exclusively match the supplied literal input: leading ! can become negation, leading # can become a comment, braceExpand() can collapse an escaped backslash and reactivate a following magic character when an expanded brace group is present and the installed brace-expansion release has the affected behavior (2.x or 5.0.4 through 5.0.12), and windowsPathsNoEscape combined with magicalBraces can leave braces active. Applications that escape attacker-controlled text and then use the result as an authorization, filtering, or path-selection pattern may match unintended strings or fail to match the intended literal. This issue is fixed in version 11.0.8.
From the CVE record by GitHub_M, last updated December 1, 2026, 19:18 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| isaacs | minimatch | >= 7.4.0, < 11.0.8 |
As the CVE record by GitHub_M states it, last updated December 1, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | minimatch | >= 7.4.0, < 11.0.8 | 11.0.8 | GHSA-c859-jr93-m5j4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 1, 2026. Summary: minimatch: minimatch.escape() output matches more or less than the literal input.
How severe is CVE-2026-140006?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-140006 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, December 1, 2026)
- EPSS
- 0.43% probability of exploitation activity in the next 30 days, percentile 39.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-116 Improper Encoding or Escaping of Output
Where are the vendor advisories and references?
- https://github.com/isaacs/minimatch/security/advisories/GHSA-c859-jr93-m5j4 x_refsource_CONFIRM
- https://github.com/isaacs/minimatch/commit/784603e09641970d2ba2caf8c73a95d1015cc67d x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 30, 2026
- Published
- November 30, 2026, 21:31 UTC
- CVE record updated
- December 1, 2026, 19:18 UTC by GitHub_M
- NVD
- Received, last modified December 1, 2026, 20:19 UTC
- Last checked
- CVE list December 1, 2026, 19:21 UTC; NVD December 1, 2026, 21:12 UTC; KEV December 3, 2026, 19:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect minimatch?
- Dec 1, 2026CVE-2026-141514 isaacs minimatch: prototype pollution
- Nov 30, 2026CVE-2026-140008 isaacs minimatch: denial of service through slow algorithm
- Nov 30, 2026CVE-2026-140007 isaacs minimatch: denial of service (uncontrolled resource consumption)
- Oct 29, 2026CVE-2026-118764 isaacs minimatch: asymmetric Resource Consumption (Amplification)
- Feb 26, 2026CVE-2026-27904 isaacs minimatch: regular expression denial of service (ReDoS)
- Feb 26, 2026CVE-2026-27903 isaacs minimatch: denial of service through slow algorithm
- Feb 20, 2026CVE-2026-26996 isaacs minimatch: regular expression denial of service (ReDoS)
Questions about CVE-2026-140006
Is CVE-2026-140006 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 0.43% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of isaacs minimatch are affected by CVE-2026-140006?
minimatch from 7.4.0 before 11.0.8, per the GitHub advisory GHSA-c859-jr93-m5j4. The tables above give every range the sources list.
Which version fixes CVE-2026-140006?
11.0.8, per the GitHub advisory GHSA-c859-jr93-m5j4. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-140006?
Medium (5.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-140006?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.