mcollina mcp-ripgrep up to 0.4.0 Advanced Search Tool src/index.ts fileType os command injection ⚔ [Disputed]

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.0$0-$5k1.67

Summaryinfo

A vulnerability was found in mcollina mcp-ripgrep up to 0.4.0. It has been rated as problematic. Affected by this vulnerability is an unknown functionality of the file src/index.ts of the component Advanced Search Tool. This manipulation of the argument fileType causes os command injection. This vulnerability appears as CVE-2026-113378. The attack requires local access. In addition, an exploit is available. It is still unclear if this vulnerability genuinely exists. 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."

Detailsinfo

A vulnerability has been found in mcollina mcp-ripgrep up to 0.4.0 and classified as problematic. Affected by this vulnerability is an unknown function of the file src/index.ts of the component Advanced Search Tool. The manipulation of the argument fileType with an unknown input leads to a os command injection vulnerability. The CWE definition for the vulnerability is CWE-78. The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. As an impact it is known to affect confidentiality, integrity, and availability.

The advisory is shared at gist.github.com. This vulnerability is known as CVE-2026-113378. The exploitation appears to be easy. An attack has to be approached locally. Technical details and also a public exploit are known. MITRE ATT&CK project uses the attack technique T1202 for this issue.

It is possible to download the exploit at gist.github.com. It is declared as proof-of-concept. The real existence of this vulnerability is still doubted at the moment. 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 code's own escapeShellArg on sibling arguments (skipped only for fileType) indicates that this is a CWE-78 oversight, not a documented design.

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Vendor

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.0

VulDB Base Score: 5.3
VulDB Temp Score: 5.0
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Os command injection
CWE: CWE-78 / CWE-77 / CWE-74
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: No

Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔒

Timelineinfo

10/20/2026 Advisory disclosed
10/20/2026 +0 days VulDB entry created
10/20/2026 +0 days VulDB entry last update

Sourcesinfo

Advisory: gist.github.com
Status: Confirmed
Confirmation: 🔒
Disputed: 🔍

CVE: CVE-2026-113378 (🔒)
GCVE (CVE): GCVE-0-2026-113378
GCVE (VulDB): GCVE-100-422653
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 10/20/2026 06:26
Changes: 10/20/2026 06:26 (62)
Complete: 🔍
Submitter: sandh0t
Cache ID: 216::103

Submitinfo

Accepted

  • Submit #990464: mcollina mcp-ripgrep Latest OS Command Injection (by sandh0t)

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!