Skip to content
CVE PROGRAM SOURCE RECORD9.2 Critical

CVE-2026-85660

cli-mcp-server 0.2.5 Command Allowlist Bypass via Shell Substitution

Description

cli-mcp-server 0.2.5 contains a command allowlist bypass vulnerability in the _validate_command_with_operators function when ALLOW_SHELL_OPERATORS is enabled. Attackers can use shell command substitution syntax like $(...) or backticks to execute non-allowlisted commands that bypass the ALLOWED_COMMANDS validation check.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

MladenSU cli-mcp-server

Default version status: unaffected

  • 0 to ≤ 0.2.5affected
pkg:pypi/cli-mcp-server

References