HighVulnerability
CVE-2025-54073: mcp-package-docs command injection via child_process.exec
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-54073
- Published
- Record updated
- 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.
Topics
Related items
- MediumCVE-2026-143864: InfiniFlow RAGFlow template injection in Canvas StringTransform HandlerSimilar attack, NVD/CVE Database
- MediumCVE-2026-85259: Gemini CLI Triage Flaw Lets Issue Authors Run Code in GitHub ActionsSimilar attack, StepSecurity Blog
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database