{"id":"CVE-2026-55580","published":"2026-08-25T15:42:36Z","modified":"2026-08-25T16:08:10Z","title":"mcp-shell — Security Disabled by Default in Bare-Binary Deploy Path + Shell Interpreter in Secure-Mode Allowlist","vendor":"sonirico","product":"mcp-shell","tier":"tail","description":{"text":"mcp-shell is an MCP server for running shell commands securely, auditably, and on demand. Prior to 0.6.0, config.go initializes Security.Enabled to false, and when MCP_SHELL_SEC_CONFIG_FILE is unset, main.go starts the documented bare-binary deployment without a security policy. SecurityValidator.validateCommand in security.go then short-circuits and allows every command supplied to the shell_exec MCP tool, so an LLM connected over stdio can execute unrestricted OS commands as the mcp-shell process user. The README from-source installation and MCP client configuration omit MCP_SHELL_SEC_CONFIG_FILE, making the insecure state the documented default. This issue is fixed in version 0.6.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00197,"percentile":0.09548,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/sonirico/mcp-shell/security/advisories/GHSA-f5pj-2738-996m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sonirico/mcp-shell/pull/16","tags":["x_refsource_MISC"]},{"url":"https://github.com/sonirico/mcp-shell/commit/f31377fce6ec31114e5a4398c0e5270552bce09f","tags":["x_refsource_MISC"]},{"url":"https://github.com/sonirico/mcp-shell/releases/tag/v0.6.0","tags":["x_refsource_MISC"]}],"priority":{"score":7.9,"factors":[{"name":"EPSS percentile","points":1.91},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"sonirico","affectedVersions":[{"vendor":"sonirico","product":"mcp-shell","versions":["< 0.6.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-08-25T16:07:52.580459Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/sonirico/mcp-shell","vulnerableRanges":["<0.6.0"],"patched":["0.6.0"],"from":["GHSA-f5pj-2738-996m","GO-2026-6292"],"provenance":"source"}],"summary":{"text":"In mcp-shell, prior to 0.6.0, the bare-binary deployment path starts without a security policy when MCP_SHELL_SEC_CONFIG_FILE is unset, so the command validator allows every command passed to the shell_exec tool. An attacker able to drive the server's shell_exec tool, such as an LLM connected over stdio, can run arbitrary OS commands as the mcp-shell process user, with no authentication or user interaction required and no special configuration beyond the default.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:48Z"},"euvd":{"id":"EUVD-2026-65550","exploited":false,"provenance":"source"}}