RCE in Kazuph Mcp-Docs-Rag
CVE-2026-5007
- CVSS v3
- 5.3 Medium
- Public exploits
- None known
- EPSS
- 0.007 · 55.5th percentile
- Published
- 2026-03-28
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.007, 55.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Kazuph Mcp-Docs-Rag — versions 0.1, 0.2, 0.3
Weakness classification (CWE)
References
- VDB-353892 | kazuph mcp-docs-rag add_git_repository/add_text_file index.ts cloneRepository os command injection (technical-description, vdb-entry)
- 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)
- github.com/kazuph/mcp-docs-rag/issues/7 (issue-tracking)
- github.com/user-attachments/files/25822451/mcp-docs-rag_bug.pdf (exploit)
- github.com/kazuph/mcp-docs-rag/ (product)