mcollina mcp-ripgrep up to 0.4.0 Advanced Search Tool src/index.ts fileType os command injection ⚔ [Disputed]
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.0 | $0-$5k | 1.67 |
Summary
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."
Details
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.
Product
Type
Vendor
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.0
VulDB Base Score: 5.3
VulDB Temp Score: 5.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Os command injectionCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔒
Timeline
10/20/2026 Advisory disclosed10/20/2026 VulDB entry created
10/20/2026 VulDB entry last update
Sources
Advisory: gist.github.comStatus: 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
Entry
Created: 10/20/2026 06:26Changes: 10/20/2026 06:26 (62)
Complete: 🔍
Submitter: sandh0t
Cache ID: 216::103
Submit
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.
No comments yet. Languages: en.
Please log in to comment.