Command Blacklist Bypass in hdresearch/mcp-shell (CVE-2026-78811)

mcp-shell is an MCP server that lets an AI client such as Claude Desktop run shell commands. It advertises "secure command execution" through a blacklist of dangerous commands. The blacklist checks only the first word of the command, and then the entire string is handed to a shell. Anything after a ; runs unchecked.




