mac-shell-mcp before 2.0.0 OS Command Injection via execute_command Arguments
cfdude mac-shell-mcp
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| cfdude mac-shell-mcp |
| No fix yet |
Original description
mac-shell-mcp before 2.0.0 contains an OS command injection vulnerability that allows MCP clients to bypass the command whitelist by injecting shell metacharacters into execute_command arguments. Attackers or malicious prompts can call a safe command such as pwd with arguments like ';' to run forbidden commands as the server user without approval.
From the CVE record · VulnCheck