← Back to search

CVE-2026-108953

7.8 HIGHpublic exploit available

Published 2026-10-12 · Updated 2026-10-16

AI risk analysis

Summary
mac-shell-mcp before 2.0.0 has an OS command injection flaw (CWE-78) where attackers can bypass a command whitelist by injecting shell metacharacters into execute_command arguments, enabling arbitrary command execution as the server user. This allows malicious prompts or compromised MCP clients to run unauthorized commands under the guise of safe commands like pwd.
Exploitability
Exploitation is straightforward for authenticated MCP clients with low privileges, requiring only manipulation of command arguments using shell metacharacters like semicolons or pipes.
Blast radius
Successful exploitation grants full compromise of confidentiality, integrity, and availability on the affected host as the server user, potentially enabling lateral movement, data exfiltration, or persistence.
Detection
Defenders should monitor server logs for unexpected shell metacharacters (e.g., ';', '|', '&', '$(') appended to otherwise benign command invocations like pwd or ls, especially when such patterns correlate with elevated privilege operations or unusual subprocess spawning. No reliable host or network indicator is derivable from the published description if logging does not capture argument details.
Prioritized remediation
Upgrade to mac-shell-mcp version 2.0.0 or later, which patches the command injection vulnerability by properly sanitizing or rejecting shell metacharacters in execute_command arguments.
command-injectioncwe-78bypassmacosmcp

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-78

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.