Command Allowlist Bypass in cli-mcp-server by MladenSU
CVE-2026-85660
9.2CRITICAL
What is CVE-2026-85660?
The flaw in version 0.2.5 of cli-mcp-server arises from a command allowlist bypass in the _validate_command_with_operators function. When the ALLOW_SHELL_OPERATORS feature is enabled, unauthorized attackers can exploit shell command substitution techniques such as $(...) and backticks, allowing them to execute commands that are not part of the ALLOWED_COMMANDS validation check. This could potentially lead to unauthorized command execution, raising significant security concerns.
Affected Version(s)
cli-mcp-server 0 <= 0.2.5
