Read the docs
TI-2025-33916 Aliases CVE-2025-54073GHSA-vf9j-h32g-2764

mcp-package-docs vulnerable to command injection in several tools

Priority HIGH 68CWE-77Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-77.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.11291 95th percentileScored 2026-11-07
Fix Fixed mcp-package-docs (sammcj): 0.1.27mcp-package-docs (npm): 0.1.28

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
sammcjmcp-package-docsbefore 0.1.270.1.27Patch availableCNA
—mcp-package-docs (npm)before 0.1.280.1.28Patch availableGHSA-vf9j-h32g-2764
  • mcp-package-docs Vendorsammcj Affected before 0.1.27 Fixed in 0.1.27 Patch available CNA
  • mcp-package-docs (npm) Vendor— Affected before 0.1.28 Fixed in 0.1.28 Patch available GHSA-vf9j-h32g-2764

Remediation

  • Fix · CNA mcp-package-docs (sammcj) Fixed in 0.1.27
  • Fix · GHSA-vf9j-h32g-2764 mcp-package-docs (npm) Fixed in 0.1.28 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-54073
  2. 2026-10-03 Alias added: GHSA-vf9j-h32g-2764

References

Sources