Vulnerability · Published Mar 28, 2026 · Assigned by VulDB
CVE-2026-5007kazuph mcp-docs-rag add_git_repository/add_text_file index.ts cloneRepository os command injection
Medium 5.3
In plain English
A medium-severity OS command injection in mcp-docs-rag from kazuph. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities).
Official description
A vulnerability was identified in kazuph mcp-docs-rag up to 0.5.0. Affected is the function cloneRepository of the file src/index.ts of the component add_git_repository/add_text_file. The manipulation leads to os command injection. The attack needs to be performed locally. The exploit is publicly available and might be used. The project was informed of the problem early through an issue report but has not responded yet.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| kazuph | mcp-docs-rag | 0.10.20.30.40.5.0 |
Weakness: CWE-78, CWE-77 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
References
- VDB-353892 | kazuph mcp-docs-rag add_git_repository/add_text_file index.ts cloneRepository os command injection vdb-entry, technical-description
- VDB-353892 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #779152 | kazuph mcp-docs-rag <= 0.5.0 Command Injection third-party-advisory
- https://github.com/kazuph/mcp-docs-rag/issues/7 issue-tracking
- https://github.com/user-attachments/files/25822451/mcp-docs-rag_bug.pdf exploit
- https://github.com/kazuph/mcp-docs-rag/ product