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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-113378— mcp-ripgrep Advanced Search Tool 命令注入漏洞

一分钟漏洞结论

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

在 mcollina 开发的 mcp-ripgrep 项目(版本 0.4.0 及更早版本)中发现了一个安全漏洞。该漏洞位于组件"Advanced Search Tool"的 src/index.ts 文件中一个未知函数内。攻击者通过操纵 fileType 参数,可引发操作系统命令注入。该攻击需要本地访问权限。利用该漏洞的 PoC(概念验证)代码已公开,可能被用于实际攻击。目前,该漏洞的真实性仍存疑。然而,代码中对其兄弟参数使用了 escapeShellArg 进行转义(仅对 fileType 参数跳过了转义),这表

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

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

漏洞信息

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

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

Vulnerability Title
mcollina mcp-ripgrep Advanced Search Tool index.ts os command injection
来源: CVE Program / CVE List V5
Vulnerability Description
A security flaw has been discovered in mcollina mcp-ripgrep up to 0.4.0. Affected is an unknown function of the file src/index.ts of the component Advanced Search Tool. The manipulation of the argument fileType results in os command injection. The attack requires a local approach. The exploit has been released to the public and may be used for attacks. The real existence of this vulnerability is still doubted at the moment. The code's own escapeShellArg on sibling arguments (skipped only for fileType) indicates that this is a CWE-78 oversight, not a documented design. The project maintainer cites the documentation: "This MCP server executes shell commands using the ripgrep tool. While efforts have been made to safely escape arguments, use caution when providing input, as it runs commands on your machine."
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
来源: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
mcollina mcp-ripgrep 0.1 cpe:2.3:a:mcollina:mcp-ripgrep:*:*:*:*:*:*:*:*

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-113378 厂商安全公告 (1)

CVE-2026-113378 其他参考 (5)

IV. Related Vulnerabilities

V. Comments for CVE-2026-113378

暂无评论


发表评论