mcp-docs-rag (OS command injection) | Medium | 5.3| Field | Value |
|---|---|
| CVE / NVD | CVE-2026-5007 |
| Date (index) | 2026-03-28 |
| Affected product (index) | mcp-docs-rag (OS command injection) |
| GHSA ID | GHSA-56ph-gvwc-wqxr |
| OWASP MCP Top 10 (2025) | MCP02 — Privilege Escalation via Scope Creep |
| Published / disclosed | 2026-03-28 |
| Ecosystem | Application / upstream project |
| Component | mcp-docs-rag (OS command injection) |
| EPSS score | 0.006470000 (FIRST EPSS, 2026-06-30) |
| CVSS score | 5.3 MEDIUM CVSS v3.1 (NVD) |
| CWE | CWE-77 / CWE-78 |
| Affected versions | <= 0.5.0 |
| Fixed versions | no vendor patch confirmed |
| Fix status | Patched |
| Exploit status | Public PoC reported |
Local attackers can turn document ingestion helpers into host command execution.
The attacker needs control over path, repository, or file arguments reaching the affected tool call. In MCP environments this often becomes reachable through prompt-influenced tool arguments, shared configs, or directly exposed tool endpoints.
cloneRepository OS command injection
Local attackers can turn document ingestion helpers into host command execution. The impact can extend from a single malformed input to host-level command execution.
Exact file/function details are not yet captured in the repository source set. Use the advisory and upstream fix link above as the starting point for source-level pinpointing.
Add the vulnerable file/function name and a minimal before/after snippet here once the patch commit is linked.
The patch adds canonical path validation, symlink-aware containment checks, or explicit repository boundary enforcement before executing the affected tool action.
Public PoC or exploit discussion is reported in the current source set. Add a direct lab-safe reference here rather than copying payloads into the page.
<= 0.5.0... segments, symlink targets, or repository paths that fall outside the intended workspace.