Arbitrary Command Execution in MCP Server by Sonirico
CVE-2026-55581

8.4HIGH

Key Information:

Vendor

Sonirico

Status
Vendor
CVE Published:
25 August 2026

What is CVE-2026-55581?

The mcp-shell server, which allows for the secure execution of shell commands, had a significant vulnerability prior to version 0.6.0. The default configuration in security.yaml permitted /bin/bash in the list of allowed executables. However, due to insufficient validation in security.go, an attacker could exploit the shell_exec tool by passing a command as '/bin/bash -c ', which would bypass the intended constraints. This exploited command would be executed as mcpuser, allowing for unauthorized actions. The issue has been addressed in the 0.6.0 release, effectively closing this security hole.

Affected Version(s)

mcp-shell < 0.6.0

References

CVSS V3.1

Score:
8.4
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.