PT-2026-81351

CVE-2026-55581

·

Published

2026-08-25

·

Updated

2026-09-04

Description by

CVSS 3.1
8.4
High
MetricsAV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions mcp-shell versions prior to 0.6.0
Description An OS command injection issue exists in the shell exec MCP tool. The software implements a secure mode that restricts command execution to an allowlist defined in security.yaml. However, the default Docker configuration includes /bin/bash in the allowed executables list. The validation logic in security.go only verifies the first token of the command and fails to reject the shell command-mode flag -c.
An attacker can bypass the allowlist by providing a command such as /bin/bash -c <arbitrary-command> to the shell exec tool. This input passes validation and is executed via exec.CommandContext in executor.go, allowing arbitrary OS command execution inside the container as the mcpuser user. This bypass requires no authentication or configuration changes.
Recommendations Update mcp-shell to version 0.6.0. As a temporary mitigation, remove /bin/bash from the allowed executables list in the security.yaml configuration file.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-3X77-WG38-92R3
GO-2026-6290
OPENSUSE-SU-2026:21761-1
SUSE-SU-2026:23625-1
Found an issue in the description? Have something to add? Feel free to write us 👾