UTC
High

mcp-shell — Security Disabled by Default in Bare-Binary Deploy Path + Shell Interpreter in Secure-Mode Allowlist

CVE-2026-55580 · GHSA-f5pj-2738-996m · published 2026-08-25

Severity
High
CVSS score
8.6
Chance of exploitation (EPSS)
0.20%
Fixed in
0.6.0
  • Exploitation Public proof of concept
  • Automatable No
  • Technical impact Total
  • CISA SSVC
What it is

mcp-shell — Security Disabled by Default in Bare-Binary Deploy Path + Shell Interpreter in Secure-Mode Allowlist. The source advisory has the full description.

What to do

Upgrade github.com/sonirico/mcp-shell to 0.6.0 or later.

If you cannot upgrade yet

The sandbox-mitigation framing assumes the operator (a) knows they need to sandbox, (b) sets up the sandbox correctly, and (c) the sandbox boundary actually contains what an attacker can reach via the MCP tool. None of those hold for the documented install path: 1. Default-off applies before the sandbox question is even asked. The from-source path (git clone && make install && mcp-shell) runs with Enabled: false from config.go:49. The MCP client config example in the README passes only MCPSHELLLOGLEVEL, no MCPSHELLSECCONFIGFILE.

Affected
PackageRegistryAffectedFixed in
github.com/sonirico/mcp-shellGo< 0.6.00.6.0
Also in github.com/sonirico/mcp-shell
  1. Highmcp-shell has a Secure Mode Allowlist Bypass via Default `/bin/bash` Executablegithub.com/sonirico/mcp-shell
  2. Highmcp-shell has a Secure Mode Allowlist Bypass via Git Shell Aliasgithub.com/sonirico/mcp-shell

The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.

Sources: GitHub Advisory Database, reviewed and malware advisories (CC BY 4.0, https://github.com/advisories); advisories published by Cursor (https://github.com/cursor/cursor/security/advisories); advisories published by OpenClaw (https://github.com/openclaw/openclaw/security/advisories); advisories published by vLLM (https://github.com/vllm-project/vllm/security/advisories); advisories published by Open WebUI (https://github.com/open-webui/open-webui/security/advisories); advisories published by n8n (https://github.com/n8n-io/n8n/security/advisories); advisories published by Flowise (https://github.com/FlowiseAI/Flowise/security/advisories); advisories published by Langflow (https://github.com/langflow-ai/langflow/security/advisories); advisories published by the MCP Python SDK project (https://github.com/modelcontextprotocol/python-sdk/security/advisories); advisories published by MLflow (https://github.com/mlflow/mlflow/security/advisories); CISA Known Exploited Vulnerabilities catalog (CC0). Data as of 2026-11-22. ShieldMap describes how each problem works and how to fix it; it does not publish exploit code. Report a correction to [email protected].