CVE-2026-113378
mcollina mcp-ripgrep Advanced Search Tool index.ts os command injection
- Medium 5.3
- A public exploit reference is listed
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."
Key facts
- Published
- 20 Oct 2026
- Last changed
- 24 Oct 2026
- Assigned by
- VulDB
- EPSS
- 0.836% likely to be exploited in the next 30 days, higher than 58.428% of CVEs (scores for 18 Nov 2026)
- SSVC (CISA)
- Exploitation: poc; Automatable: no; Technical impact: partial
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 4.8CVSS 4.0, Mediumfrom the CNA (VulDB)
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 - 5.3CVSS 3.1, Mediumfrom the CNA (VulDB)
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 - 5.3CVSS 3.0, Mediumfrom the CNA (VulDB)
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 - 4.3CVSS 2.0, Mediumfrom the CNA (VulDB)
AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:C
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| mcollina | mcp-ripgrep |
|
Timeline
- 20 Oct 2026 Advisory disclosed
- 20 Oct 2026 VulDB entry created
- 20 Oct 2026 Published
- 24 Oct 2026 VulDB entry last update
Weakness
Practice this bug class
HackZoneLabs has a hands-on lab on OS command injection (CWE-78).