CVE-2026-55582: mcp-shell: Secure Mode Allowlist Bypass via Git Shell Alias
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 19% 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 security.yaml allows /usr/bin/git, while security.go omits ! from containsShellMetacharacters and containsDangerousShellConstructs and applies no per-executable argument policy. A caller of the shell_exec MCP tool can provide the command argument /usr/bin/git -c alias.pwn=!<arbitrary-command>, causing Git to create a shell alias and execute arbitrary OS commands as the mcp-shell process user. The default Docker image runs as mcpuser with Git installed and secure mode enabled, so the bypass is exploitable in the default deployment without additional authentication beyond MCP connectivity. 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-55582 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-74hp-mggrgithub.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