CVE-2026-140006

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.
Configurations

No configuration.

History

01 Dec 2026, 20:19

Type Values Removed Values Added
References () https://github.com/isaacs/minimatch/security/advisories/GHSA-c859-jr93-m5j4 - () https://github.com/isaacs/minimatch/security/advisories/GHSA-c859-jr93-m5j4 -

30 Nov 2026, 22:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-30 22:17

Updated : 2026-12-01 20:19


NVD link : CVE-2026-140006

Mitre link : CVE-2026-140006

CVE.ORG link : CVE-2026-140006


JSON object : View

Products Affected

No product.

CWE
CWE-116

Improper Encoding or Escaping of Output