Search
Find a vulnerability
Search criteria
2 vulnerabilities found for mcp-ripgrep by mcollina
CVE-2026-113378 (GCVE-0-2026-113378)
Vulnerability from nvd – Published: 2026-10-20 09:30 – Updated: 2026-10-24 00:13 Disputed
VLAI
EPSS
VEX
Title
mcollina mcp-ripgrep Advanced Search Tool index.ts os command injection
Summary
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."
Severity
SSVC
Exploitation: poc
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-10-20 13:45 UTC
Assigner
References
6 references
| URL | Tags |
|---|---|
| https://vuldb.com/vuln/422653 | vdb-entrytechnical-description |
| https://vuldb.com/vuln/422653/cti | signaturepermissions-required |
| https://vuldb.com/cve/CVE-2026-113378 | third-party-advisory |
| https://vuldb.com/submit/990464 | third-party-advisory |
| https://gist.github.com/sandh0t/45fdee24a7907e0cd… | exploit |
| https://github.com/mcollina/mcp-ripgrep#security-… | related |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| mcollina | mcp-ripgrep |
Affected:
0.1
Affected: 0.2 Affected: 0.3 Affected: 0.4.0 cpe:2.3:a:mcollina:mcp-ripgrep:*:*:*:*:*:*:*:* |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-113378",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-20T13:45:26.471028Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-20T13:45:42.945Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"cpes": [
"cpe:2.3:a:mcollina:mcp-ripgrep:*:*:*:*:*:*:*:*"
],
"modules": [
"Advanced Search Tool"
],
"product": "mcp-ripgrep",
"vendor": "mcollina",
"versions": [
{
"status": "affected",
"version": "0.1"
},
{
"status": "affected",
"version": "0.2"
},
{
"status": "affected",
"version": "0.3"
},
{
"status": "affected",
"version": "0.4.0"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Ayoub Safa"
},
{
"lang": "en",
"type": "reporter",
"value": "sandh0t (VulDB User)"
},
{
"lang": "en",
"type": "analyst",
"value": "sandh0t (VulDB User)"
},
{
"lang": "en",
"type": "coordinator",
"value": "VulDB CNA Team"
}
],
"descriptions": [
{
"lang": "en",
"value": "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\u0027s 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.\""
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 4.8,
"baseSeverity": "MEDIUM",
"vectorString": "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",
"version": "4.0"
}
},
{
"cvssV3_1": {
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"vectorString": "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",
"version": "3.1"
}
},
{
"cvssV3_0": {
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"vectorString": "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",
"version": "3.0"
}
},
{
"cvssV2_0": {
"baseScore": 4.3,
"vectorString": "AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:C",
"version": "2.0"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-78",
"description": "OS Command Injection",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-77",
"description": "Command Injection",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-24T00:13:32.107Z",
"orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"shortName": "VulDB"
},
"references": [
{
"name": "VDB-422653 | mcollina mcp-ripgrep Advanced Search Tool index.ts os command injection",
"tags": [
"vdb-entry",
"technical-description"
],
"url": "https://vuldb.com/vuln/422653"
},
{
"name": "VDB-422653 | CTI Indicators (IOB, IOC, TTP, IOA)",
"tags": [
"signature",
"permissions-required"
],
"url": "https://vuldb.com/vuln/422653/cti"
},
{
"name": "CVE-2026-113378 | CVE Analysis and Report",
"tags": [
"third-party-advisory"
],
"url": "https://vuldb.com/cve/CVE-2026-113378"
},
{
"name": "Submit #990464 | mcollina mcp-ripgrep Latest OS Command Injection",
"tags": [
"third-party-advisory"
],
"url": "https://vuldb.com/submit/990464"
},
{
"tags": [
"exploit"
],
"url": "https://gist.github.com/sandh0t/45fdee24a7907e0cd836aed26f2d5a7a/"
},
{
"tags": [
"related"
],
"url": "https://github.com/mcollina/mcp-ripgrep#security-considerations"
}
],
"tags": [
"disputed"
],
"timeline": [
{
"lang": "en",
"time": "2026-10-20T00:00:00.000Z",
"value": "Advisory disclosed"
},
{
"lang": "en",
"time": "2026-10-20T02:00:00.000Z",
"value": "VulDB entry created"
},
{
"lang": "en",
"time": "2026-10-24T02:15:23.000Z",
"value": "VulDB entry last update"
}
],
"title": "mcollina mcp-ripgrep Advanced Search Tool index.ts os command injection",
"x_generator": [
"VulDB PVTS v202610"
]
}
},
"cveMetadata": {
"assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"assignerShortName": "VulDB",
"cveId": "CVE-2026-113378",
"datePublished": "2026-10-20T09:30:14.745Z",
"dateReserved": "2026-10-20T04:21:50.525Z",
"dateUpdated": "2026-10-24T00:13:32.107Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-113378 (GCVE-0-2026-113378)
Vulnerability from cvelistv5 – Published: 2026-10-20 09:30 – Updated: 2026-10-24 00:13 Disputed
VLAI
EPSS
VEX
Title
mcollina mcp-ripgrep Advanced Search Tool index.ts os command injection
Summary
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."
Severity
SSVC
Exploitation: poc
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-10-20 13:45 UTC
Assigner
References
6 references
| URL | Tags |
|---|---|
| https://vuldb.com/vuln/422653 | vdb-entrytechnical-description |
| https://vuldb.com/vuln/422653/cti | signaturepermissions-required |
| https://vuldb.com/cve/CVE-2026-113378 | third-party-advisory |
| https://vuldb.com/submit/990464 | third-party-advisory |
| https://gist.github.com/sandh0t/45fdee24a7907e0cd… | exploit |
| https://github.com/mcollina/mcp-ripgrep#security-… | related |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| mcollina | mcp-ripgrep |
Affected:
0.1
Affected: 0.2 Affected: 0.3 Affected: 0.4.0 cpe:2.3:a:mcollina:mcp-ripgrep:*:*:*:*:*:*:*:* |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-113378",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-20T13:45:26.471028Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-20T13:45:42.945Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"cpes": [
"cpe:2.3:a:mcollina:mcp-ripgrep:*:*:*:*:*:*:*:*"
],
"modules": [
"Advanced Search Tool"
],
"product": "mcp-ripgrep",
"vendor": "mcollina",
"versions": [
{
"status": "affected",
"version": "0.1"
},
{
"status": "affected",
"version": "0.2"
},
{
"status": "affected",
"version": "0.3"
},
{
"status": "affected",
"version": "0.4.0"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Ayoub Safa"
},
{
"lang": "en",
"type": "reporter",
"value": "sandh0t (VulDB User)"
},
{
"lang": "en",
"type": "analyst",
"value": "sandh0t (VulDB User)"
},
{
"lang": "en",
"type": "coordinator",
"value": "VulDB CNA Team"
}
],
"descriptions": [
{
"lang": "en",
"value": "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\u0027s 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.\""
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 4.8,
"baseSeverity": "MEDIUM",
"vectorString": "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",
"version": "4.0"
}
},
{
"cvssV3_1": {
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"vectorString": "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",
"version": "3.1"
}
},
{
"cvssV3_0": {
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"vectorString": "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",
"version": "3.0"
}
},
{
"cvssV2_0": {
"baseScore": 4.3,
"vectorString": "AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:C",
"version": "2.0"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-78",
"description": "OS Command Injection",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-77",
"description": "Command Injection",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-24T00:13:32.107Z",
"orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"shortName": "VulDB"
},
"references": [
{
"name": "VDB-422653 | mcollina mcp-ripgrep Advanced Search Tool index.ts os command injection",
"tags": [
"vdb-entry",
"technical-description"
],
"url": "https://vuldb.com/vuln/422653"
},
{
"name": "VDB-422653 | CTI Indicators (IOB, IOC, TTP, IOA)",
"tags": [
"signature",
"permissions-required"
],
"url": "https://vuldb.com/vuln/422653/cti"
},
{
"name": "CVE-2026-113378 | CVE Analysis and Report",
"tags": [
"third-party-advisory"
],
"url": "https://vuldb.com/cve/CVE-2026-113378"
},
{
"name": "Submit #990464 | mcollina mcp-ripgrep Latest OS Command Injection",
"tags": [
"third-party-advisory"
],
"url": "https://vuldb.com/submit/990464"
},
{
"tags": [
"exploit"
],
"url": "https://gist.github.com/sandh0t/45fdee24a7907e0cd836aed26f2d5a7a/"
},
{
"tags": [
"related"
],
"url": "https://github.com/mcollina/mcp-ripgrep#security-considerations"
}
],
"tags": [
"disputed"
],
"timeline": [
{
"lang": "en",
"time": "2026-10-20T00:00:00.000Z",
"value": "Advisory disclosed"
},
{
"lang": "en",
"time": "2026-10-20T02:00:00.000Z",
"value": "VulDB entry created"
},
{
"lang": "en",
"time": "2026-10-24T02:15:23.000Z",
"value": "VulDB entry last update"
}
],
"title": "mcollina mcp-ripgrep Advanced Search Tool index.ts os command injection",
"x_generator": [
"VulDB PVTS v202610"
]
}
},
"cveMetadata": {
"assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"assignerShortName": "VulDB",
"cveId": "CVE-2026-113378",
"datePublished": "2026-10-20T09:30:14.745Z",
"dateReserved": "2026-10-20T04:21:50.525Z",
"dateUpdated": "2026-10-24T00:13:32.107Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}