Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-113378— mcollina mcp-ripgrep Advanced Search Tool index.ts os command injection

Quick assessment

Affected
mcollina mcp-ripgrep
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

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

CVSS 5.3 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-113378

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
mcollina mcp-ripgrep Advanced Search Tool index.ts os command injection
Source: 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."
Source: 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
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
mcollina mcp-ripgrep 0.1 cpe:2.3:a:mcollina:mcp-ripgrep:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-113378

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-113378

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

Vendor Advisories for CVE-2026-113378 (1)

Other References for CVE-2026-113378 (5)

IV. Related Vulnerabilities

V. Comments for CVE-2026-113378

No comments yet


Leave a comment