CVE-2026-113378mcollina mcp-ripgrep Advanced Search Tool index.ts os command injection
Updated under an hour ago ()
Does this affect you?
It affects mcollina mcp-ripgrep. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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."
- CVSS
- 5.3 MEDIUM (v3.1, 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
- Weakness (CWE)
- CWE-78, CWE-77
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- VulDB
- NVD analysis
- Deferred
- Record last updated
- Oct 20, 2026
- First seen by InfoSec Signals
- Oct 20, 2026
Affected products
mcollina mcp-ripgrep mcollina:mcp-ripgrep | 0.1; 0.2; 0.3; 0.4.0 | CNA record |
References
- https://vuldb.com/vuln/422653vdb-entry, technical-description
- https://vuldb.com/vuln/422653/ctisignature, permissions-required
- https://vuldb.com/cve/CVE-2026-113378third-party-advisory
- https://vuldb.com/submit/990464third-party-advisory
- https://gist.github.com/sandh0t/45fdee24a7907e0cd836aed26f2d5a7a/exploit
- https://github.com/mcollina/mcp-ripgrep#security-considerationsrelated
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.