CVE-2026-55581
Last modified
CVE-2026-55581 is a high-severity vulnerability rated 8.4/10 on the CVSS scale. mcp-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. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
Description
mcp-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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| sonirico | mcp-shell | < 0.6.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-55581?
How severe is CVE-2026-55581?
How do I fix CVE-2026-55581?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-55576MaaAssistantArknights is a one-click tool for daily Arknight…8.8
- CVE-2026-55577ImageMagick is free and open-source software used for editin…5.9
- CVE-2026-55578Pheditor is a single-file editor and file manager written in…8.8
- CVE-2026-55579Pheditor is a single-file editor and file manager written in…9.8
- CVE-2026-5558A flaw has been found in PHPGurukul PHPGurukul Online Shoppi…6.3
- CVE-2026-55580mcp-shell is an MCP server for running shell commands secure…8.6
- CVE-2026-55582mcp-shell is an MCP server for running shell commands secure…8.4
- CVE-2026-55583Twenty is an open-source CRM (customer relationship manageme…7.6
- CVE-2026-55584phpSysInfo is a customizable PHP script that displays system…7.5
- CVE-2026-55585QWED is open-source AI verification infrastructure for deter…8.8
- CVE-2026-55586SumatraPDF is a multi-format reader for Windows. In 3.6.1 an…6.6
- CVE-2026-55588ORAS (OCI Registry As Storage) is a CLI and library for mana…6.5
Are you affected by CVE-2026-55581?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
