CVE-2026-140006

NameCVE-2026-140006
Descriptionminimatch 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-minimatch (PTS)bookworm5.1.1+~5.1.2-1vulnerable
trixie9.0.3-6vulnerable
forky, sid9.0.7-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-minimatchsource(unstable)(unfixed)

Notes

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

Search for package or bug name: Reporting problems