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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-54073— mcp-package-docs vulnerable to command injection in several tools

Quick assessment

Affected
sammcj mcp-package-docs
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

mcp-package-docs是Sam个人开发者的一个MCP服务器,为LLM提供跨多种编程语言对包文档的高效访问。 mcp-package-docs存在命令注入漏洞,该漏洞源于未清理输入参数,可能导致命令注入攻击。

CVSS 7.5 · High EPSS 9.62% · P95
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-54073

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
mcp-package-docs vulnerable to command injection in several tools
Source: CVE Program / CVE List V5
Vulnerability Description
mcp-package-docs is an MCP (Model Context Protocol) server that provides LLMs with efficient access to package documentation across multiple programming languages and language server protocol (LSP) capabilities. A command injection vulnerability exists in the `mcp-package-docs` MCP Server prior to the fix in commit cb4ad49615275379fd6f2f1cf1ec4731eec56eb9. The vulnerability is caused by the unsanitized use of input parameters within a call to `child_process.exec`, enabling an attacker to inject arbitrary system commands. Successful exploitation can lead to remote code execution under the server process's privileges. The server constructs and executes shell commands using unvalidated user input directly within command-line strings. This introduces the possibility of shell metacharacter injection (`|`, `>`, `&&`, etc.). Commit cb4ad49615275379fd6f2f1cf1ec4731eec56eb9 in version 0.1.27 contains a fix for the issue, but upgrading to 0.1.28 is recommended.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
在命令中使用的特殊元素转义处理不恰当(命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
mcp-package-docs 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
mcp-package-docs是Sam个人开发者的一个MCP服务器,为LLM提供跨多种编程语言对包文档的高效访问。 mcp-package-docs存在命令注入漏洞,该漏洞源于未清理输入参数,可能导致命令注入攻击。
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
sammcj mcp-package-docs < 0.1.27 -

II. Public POCs for CVE-2025-54073

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7678 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2025-54073

登录查看更多情报信息。

Vendor Advisories for CVE-2025-54073 (4)

Security Blog Posts for CVE-2025-54073 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-54073

No comments yet


Leave a comment