| Field | Value |
|---|---|
| CVE / NVD | CVE-2026-55580 |
| Date (index) | 2026-08-25 |
| Affected product (index) | mcp-shell is an MCP server for running shell commands securely, auditably, and on demand |
| GHSA ID | GHSA-F5PJ-2738-996M |
| OWASP MCP Top 10 (2025) | MCP04 — Software Supply Chain Attacks & Dependency Tampering |
| Published / disclosed | 2026-08-25 |
| Ecosystem | Application / upstream project |
| Component | mcp-shell is an MCP server for running shell commands securely, auditably, and on demand |
| EPSS score | 0.001970000 (FIRST EPSS, 2026-09-26) |
| CVSS score | HIGH — 8.6 CVSS v4.0 |
| CWE | CWE-78 |
| Affected versions | v0.5.0, v0.4.0, v0.3.1, v0.3.0, v0.2.2, v0.2.0, v0.1.0 |
| Fixed versions | 0.6.0 |
| Fix status | Patched |
| Exploit status | Public CVE record; do not mirror weaponized payloads |
| Notes | Added as a separate CVE note during the 2026-08-25 missing-CVE follow-up. Re-check NVD before using this entry for compliance reporting. |
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.
Exposure depends on how the affected MCP server, client, gateway, plugin, extension, or adjacent AI workflow is deployed. Prioritize network-reachable MCP transports, desktop apps with MCP extensions enabled, CI or agent environments, and systems with access to browsers, repositories, credentials, cloud resources, databases, or local files.
Primary mapped weakness: MCP04 — Software Supply Chain Attacks & Dependency Tampering. Confirm the exact CWE and affected code path in the NVD record and upstream advisory before adding exploit-specific detail.
MCP components bridge model output to privileged tools. Vulnerabilities in authorization, path validation, OAuth handling, command execution, SSRF validation, prompt/tool trust, or tool access can turn prompt/tool input into host compromise, credential disclosure, unauthorized browser/cloud/database access, or persistent malicious tool execution.
Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory. Do not paste weaponized payloads.
Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.
If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.
Track NVD references for CVE-2026-55580 and apply the upstream patched release or commit recommended by the vendor/CNA.