Vulnerability library
Security checkAugust 05, 2025

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

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmmcp-package-docs

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

A command injection vulnerability exists in the mcp-package-docs MCP Server. 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.

Recommendation

Update the mcp-package-docs package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 0.1.27
  • Patched version(s): 0.1.28

References

Could your website be exposed too?

SmartScanner can check your website for mcp-package-docs vulnerable to command injection in several tools and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated August 05, 2025