# CVE-2026-55580: mcp-shell — Security Disabled by Default in Bare-Binary Deploy Path + Shell Interpreter in Secure-Mode Allowlist

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-25T15:42:36.474Z
- Modified: 2026-09-09T21:07:31.353Z
- Also known as: GHSA-f5pj-2738-996m, GO-2026-6292
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

mcp-shell is an MCP server for running shell commands securely, auditably, and on demand. Prior to 0.6.0, config.go initializes Security.Enabled to false, and when MCP_SHELL_SEC_CONFIG_FILE is unset, main.go starts the documented bare-binary deployment without a security policy. SecurityValidator.validateCommand in security.go then short-circuits and allows every command supplied to the shell_exec MCP tool, so an LLM connected over stdio can execute unrestricted OS commands as the mcp-shell process user. The README from-source installation and MCP client configuration omit MCP_SHELL_SEC_CONFIG_FILE, making the insecure state the documented default. This issue is fixed in version 0.6.0.

(As written by CVE List.)

## Affected

- sonirico mcp-shell: < 0.6.0
- github.com/sonirico/mcp-shell (Go): before 0.6.0

## Every score

- GitHub_M: CVSS:4.0 8.6 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/sonirico/mcp-shell/security/advisories/GHSA-f5pj-2738-996m> (exploit, advisory, web)
- <https://github.com/sonirico/mcp-shell/pull/16> (fix, web)
- <https://github.com/sonirico/mcp-shell/commit/f31377fce6ec31114e5a4398c0e5270552bce09f> (fix, web)
- <https://github.com/sonirico/mcp-shell/releases/tag/v0.6.0> (web)
- <https://github.com/sonirico/mcp-shell> (package)

## Sources

- CVE List: [CVE-2026-55580](https://www.cve.org/CVERecord?id=CVE-2026-55580), CVE Terms of Use, modified 2026-08-25
- GitHub Advisory Database: [GHSA-f5pj-2738-996m](https://github.com/advisories/GHSA-f5pj-2738-996m), CC-BY-4.0, modified 2026-08-26
- Go Vulnerability Database: [GO-2026-6292](https://pkg.go.dev/vuln/GO-2026-6292), CC-BY-4.0, modified 2026-08-26
- NVD: [CVE-2026-55580](https://nvd.nist.gov/vuln/detail/CVE-2026-55580), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-55580 · Whole record: https://cve.day/CVE-2026-55580.json · Rebuilt by cve.day 2026-11-25T22:59:35.168Z
