Skip to content

CVE-2026-85660 cli-mcp-server 0.2.5 Command Allowlist Bypass via Shell Substitution

CriticalCVSS 9.2 EPSS 0.62%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
pypi cli-mcp-server <= 0.2.5 after 0.2.5 Fixed

Affected products

ProductAffected versionsFixed in
pypi cli-mcp-server <= 0.2.5 No fix listed

References