Submit #786948: suvarchal docker-mcp-server 0.1.0 Command Injectioninfo

Titlesuvarchal docker-mcp-server 0.1.0 Command Injection
DescriptionA command injection vulnerability (CWE-78) has been identified in docker-mcp-server, specifically within the src/index.ts component. Multiple MCP tool handlers—including stop_container, remove_container, and pull_image—construct shell command strings using unsanitized attacker-controlled input (e.g., container names or image tags) and execute them via execAsync. An attacker with network access to the MCP/HTTP interface can supply malicious input containing shell metacharacters, leading to arbitrary OS command execution with the privileges of the server process. This can result in full host compromise, including data exposure, integrity loss, and service disruption. Versions up to and including 0.1.0 are confirmed affected.
Source⚠️ https://github.com/suvarchal/docker-mcp/issues/3
User
 BruceJin (UID 96538)
Submission03/24/2026 09:45 (18 days ago)
Moderation04/07/2026 15:42 (14 days later)
StatusAccepted
VulDB entry355748 [suvarchal docker-mcp-server up to 0.1.0 HTTP Interface src/index.ts stop_container/remove_container/pull_image os command injection]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!