Home

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.

PUBLISHED Reserved 2026-03-27 | Published 2026-03-28 | Updated 2026-04-01 | Assigner VulDB




MEDIUM: 4.8CVSS: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
MEDIUM: 5.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
MEDIUM: 5.3CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
4.3AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR

Problem types

OS Command Injection

Command Injection

Product status

0.1
affected

0.2
affected

0.3
affected

0.4
affected

0.5.0
affected

Timeline

2026-03-27:Advisory disclosed
2026-03-27:VulDB entry created
2026-03-27:VulDB entry last update

Credits

Yinci Chen (VulDB User) reporter

References

vuldb.com/vuln/353892 (VDB-353892 | kazuph mcp-docs-rag add_git_repository/add_text_file index.ts cloneRepository os command injection) vdb-entry technical-description

vuldb.com/vuln/353892/cti (VDB-353892 | CTI Indicators (IOB, IOC, TTP, IOA)) signature permissions-required

vuldb.com/submit/779152 (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/...ttachments/files/25822451/mcp-docs-rag_bug.pdf exploit

github.com/kazuph/mcp-docs-rag/ product

cve.org (CVE-2026-5007)

nvd.nist.gov (CVE-2026-5007)

Download JSON