mcp-shell is an MCP server for running shell commands securely, auditably, and on demand. Prior to 0.6.0, the…
Historical advisory recorded 25 Oct 2026 14:19:05 UTC. Read the latest advisory.
nvd · CVE-2026-55581
Publishedmcp-shell is an MCP server for running shell commands securely, auditably, and on demand. Prior to 0.6.0, the default Docker security.yaml includes /bin/bash in allowed_executables, while security.go validates only the first token and checkBlockedPatternsAndCommands does not reject the shell command-mode flag -c. A caller of the shell_exec MCP tool can provide the command argument `/bin/bash -c <arbitrary-command>`, which passes validation and reaches executor.go, where parseCommand and exec.CommandContext execute the arbitrary command as mcpuser outside the intended allowlist. This issue is fixed in version 0.6.0.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-55581
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Deferred
Weakness classifications: CWE-78 · CWE-183 · CWE-1188
Original publisher date fields
published: 2026-08-25T16:16:55.470
lastModified: 2026-09-09T21:07:31.353
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON