CVE-2026-113378CWE-77CWE-78command-injection

CVE-2026-113378

Medium · published October 20, 2026

CVSS v3.1
5.3
EPSS
1%
Percentile
53.9
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
4.8 · CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
EPSS
0.00733 · 53.9th percentile
Weaknesses
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection'); CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-10-20T14:17Z
References (6)
EPSS history
Timeline
  • 21 OCT 03:27Z
    EPSS moved — → 1%
    epss
  • 20 OCT 09:30Z
    mcollina mcp-ripgrep Advanced Search Tool index.ts os command injection
    cvelistv5
  • 20 OCT 09:30Z
    mcollina mcp-ripgrep Advanced Search Tool index.ts os command injection
    cvelistv5