Skip to content
HighVulnerability

CVE-2025-54073: mcp-package-docs command injection via child_process.exec

Identifier
CVE-2025-54073
Published
Record updated
View JSON
Affected
  • mcp-package-docs <= 0.1.27
Fixed in
0.1.28
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
12.6%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

mcp-package-docs, an MCP server that gives LLMs access to package documentation and LSP capabilities, contains a command injection flaw (CVE-2025-54073). Its `child_process.exec` call uses unsanitized input parameters inside shell command strings, so an attacker can inject arbitrary system commands and achieve remote code execution with the server process's privileges.

Mitigation

Commit cb4ad49615275379fd6f2f1cf1ec4731eec56eb9 contains the fix and is included in version 0.1.27, but upgrading to 0.1.28 is recommended.