CVE-2026-113378

published 20 Oct 2026 · updated 24 Oct 2026

mcollina mcp-ripgrep Advanced Search Tool index.ts os command injection

6.3MediumCVSS 5.3EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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."

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
mcollina=0.1, =0.2, =0.3, =0.4.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-113378 severity on Zeptric[![CVE-2026-113378](https://zeptric.io/badge/cve/CVE-2026-113378.svg)](https://zeptric.io/cve/CVE-2026-113378)