High severity7.8NVD Advisory· Published Oct 12, 2026
CVE-2026-108953
CVE-2026-108953
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.
Affected products
1- Range: <2.0.0
Patches
Vulnerability mechanics
References
4- github.com/cfdude/mac-shell-mcp/blob/1c1708201abb7a18c83075e1bf933e7a92cbeb9f/src/services/command-service.tsnvd
- github.com/cfdude/mac-shell-mcp/commit/932ce733cde07bb30b1f186303e6692dbb5d087anvd
- github.com/cfdude/mac-shell-mcp/issues/45nvd
- www.vulncheck.com/advisories/mac-shell-mcp-before-2.0.0-os-command-injection-via-execute-command-argumentsnvd
News mentions
0No linked articles in our index yet.