Skip to content
MediumVulnerability

CVE-2026-113378: mcollina mcp-ripgrep OS command injection via fileType argument

Identifier
CVE-2026-113378
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

A flaw in mcollina mcp-ripgrep up to 0.4.0, in the Advanced Search Tool function of src/index.ts, lets the fileType argument inject OS commands. The attack requires local access, and an exploit has been published, though the vulnerability's real existence is still doubted. The code escapes sibling arguments but skips fileType, which points to an oversight (CWE-78) rather than a documented design.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.