Source: node-minimatch
X-Debbugs-CC: [email protected]
Severity: important
Tags: security

Hi,

The following vulnerabilities were published for node-minimatch.

CVE-2026-140006[0]:
| 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.

 https://github.com/isaacs/minimatch/security/advisories/GHSA-c859-jr93-m5j4
 Fixed by: 
https://github.com/isaacs/minimatch/commit/784603e09641970d2ba2caf8c73a95d1015cc67d
 (v11.0.8)

CVE-2026-140007[1]:
| 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.

 https://github.com/isaacs/minimatch/security/advisories/GHSA-hqmv-qgp3-jx75
 Fixed by: 
https://github.com/isaacs/minimatch/commit/d70a7bbc73140bd771daf5c30869b28dbc48929c
 (v11.0.8)


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-140006
    https://www.cve.org/CVERecord?id=CVE-2026-140006
[1] https://security-tracker.debian.org/tracker/CVE-2026-140007
    https://www.cve.org/CVERecord?id=CVE-2026-140007

Please adjust the affected versions in the BTS as needed.

Reply via email to