Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-5007— kazuph mcp-docs-rag add_git_repository/add_text_file index.ts cloneRepository os command injection

Quick assessment

Affected
kazuph mcp-docs-rag
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

mcp-docs-rag MCP Server是Kazuhiro Homma个人开发者的一个基于本地文档的RAG问答服务器。 mcp-docs-rag MCP Server 0.5.0及之前版本存在操作系统命令注入漏洞,该漏洞源于组件add_git_repository/add_text_file中文件src/index.ts的函数cloneRepository存在os命令注入,可能导致本地攻击者执行任意命令。

CVSS 5.3 · Medium EPSS 0.65% · P48

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-5007

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
kazuph mcp-docs-rag add_git_repository/add_text_file index.ts cloneRepository os command injection
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
mcp-docs-rag MCP Server 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
mcp-docs-rag MCP Server是Kazuhiro Homma个人开发者的一个基于本地文档的RAG问答服务器。 mcp-docs-rag MCP Server 0.5.0及之前版本存在操作系统命令注入漏洞,该漏洞源于组件add_git_repository/add_text_file中文件src/index.ts的函数cloneRepository存在os命令注入,可能导致本地攻击者执行任意命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
kazuph mcp-docs-rag 0.1 -

II. Public POCs for CVE-2026-5007

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-5007

登录查看更多情报信息。

Vendor Advisories for CVE-2026-5007 (2)

News Coverage for CVE-2026-5007 (1)

Other References for CVE-2026-5007 (1)

Other References for CVE-2026-5007 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-5007

No comments yet


Leave a comment