CVE-2026-55581: mcp-shell: Secure Mode Allowlist Bypass via Default `/bin/bash` Executable
sonirico · mcp-shell
Affected: sonirico mcp-shell · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 39% of scored CVEs
DescriptionCVE.org
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 products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- sonirico · mcp-shell< 0.6.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Published
- August 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-55581 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-78cwe.mitre.org
- github.com/sonirico/mcp-shell/security/advisories/GHSA-3x77-wg38github.com
- github.com/sonirico/mcp-shell/pull/16github.com
- github.com/sonirico/mcp-shell/commit/f31377fce6ec31114e5a4398c0egithub.com
- github.com/sonirico/mcp-shell/releases/tag/v0.6.0github.com