CVE-2026-113378
published medium CVSS 4.0 · 4.8mcollina mcp-ripgrep Advanced Search Tool index.ts os command injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mcollina | — | mcp-ripgrep0.1 · 0.2 · 0.3 · 0.4.0 | Affected | Not stated | VulDB |
Description
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."
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulDB · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C | — |
| 3.0 | 5.3 | medium | VulDB · cna | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C | — |
| 2.0 | 4.3 | medium | VulDB · cna | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mcollina | mcp-ripgrep | 0.1 (affected)0.2 (affected)0.3 (affected)0.4.0 (affected) | VulDB · cna |
Weaknesses
2- CWE-78 OS Command Injection
- CWE-77 Command Injection
References
6- https://gist.github.com/sandh0t/45fdee24a7907e0cd836aed26f2d5a7a/
- https://github.com/mcollina/mcp-ripgrep#security-considerations
- CVE-2026-113378 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-113378
- Submit #990464 | mcollina mcp-ripgrep Latest OS Command Injection https://vuldb.com/submit/990464
- VDB-422653 | mcollina mcp-ripgrep Advanced Search Tool index.ts os command injection https://vuldb.com/vuln/422653
- VDB-422653 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/422653/cti
Provider assertions
2VulDB · cna
mcollina mcp-ripgrep Advanced Search Tool index.ts os command injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 73e776a10480ec0aeeba5367a464d0703824cef6de8c6f999a6461819394e227
- Ingested
- 24 Oct 2026, 00:31:16 UTC
- Source record
- Official CVE record