Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-55581
Published:August 25, 2026
Updated:September 24, 2026
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.
Affected Packages
https://github.com/sonirico/mcp-shell.git (GITHUB):
Affected version(s) >=v0.1.0 <v0.6.0
Fix Suggestion:
Update to version v0.6.0
github.com/sonirico/mcp-shell (GO):
Affected version(s) >=v0.1.0 <v0.6.0
Fix Suggestion:
Update to version v0.6.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.6
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.4
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Permissive List of Allowed Inputs
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Initialization of a Resource with an Insecure Default
EPSS
Base Score:
0.34