Skip to content
OpenAdvisories
High · 8.1 CVE-2026-85660 EUVD-2026-71116GHSA-wfpw-4v5h-6h32

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

Published Sep 4, 2026 · Updated Sep 4, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
MladenSU cli-mcp-server ≤ 0.2.5 —

References