目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-140006— minimatch: minimatch.escape() output matches more or less than the literal input

一分钟漏洞结论

影响对象
isaacs minimatch
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

minimatch 是一个将 glob 表达式转换为 JavaScript RegExp 对象的最小化匹配工具。在 7.4.0 版本(含)至 11.0.8 版本(不含)之间,minimatch.escape() 可能会生成并不仅仅匹配输入字面量的模式:前导的 可能被解释为取反,前导的 可能被当作注释, 可能会折叠转义反斜杠并在存在已展开的花括号组且已安装的 brace-expansion 版本具备受影响行为(2.x 或 5.0.4 至 5.0.12)时重新激活后续的魔法字符,而且 与 结合可能使花括号保持活跃。将攻

CVSS 5.4 · Medium
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-140006 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
minimatch: minimatch.escape() output matches more or less than the literal input
来源: CVE Program / CVE List V5
Vulnerability Description
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.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
对输出编码和转义不恰当
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
isaacs minimatch >= 7.4.0, < 11.0.8 -

二、漏洞 CVE-2026-140006 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-140006 的情报信息

请登录查看更多情报信息。

CVE-2026-140006 其他参考 (2)

同批安全公告 · isaacs · 2026-11-30 · 共 4 条

CVE-2026-140008 8.7 HIGH minimatch: Quadratic compile time for long wildcard patterns (regression in 11.0.0 `mergeR
CVE-2026-137196 6.3 MEDIUM Glob : `ignore` patterns lack the braceExpandMax limit applied to `pattern`
CVE-2026-140007 5.9 MEDIUM minimatch: Global pattern cache retains large expansions, enabling memory exhaustion

IV. Related Vulnerabilities