MEDIUM · CVSS 5.4 Published: 2026-11-30

CVE-2026-140006 — Technical Security Advisory & CVSS Profile

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.

Technical Metadata

IdentifierCVE-2026-140006
Base Severity / ScoreMEDIUM (5.4 / 10.0)
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness ClassificationCWE-116
Archive CategoriesMEDIUM Advisories · 2026 Index

Operational Mitigation Guidance

Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2026-140007 MEDIUM 5.9
CVE-2026-140012 MEDIUM 5.3
CVE-2026-140014 MEDIUM 6.5
CVE-2026-138277 MEDIUM 4.7
CVE-2026-139886 MEDIUM 5.3
CVE-2026-140098 MEDIUM 6.9