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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi cli-mcp-server | <= 0.2.5 | after 0.2.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi cli-mcp-server | <= 0.2.5 | No fix listed |
References
- GitHub Issue #17 exploit issue-tracking
- github.com product
- github.com technical-description
- VulnCheck Advisory: cli-mcp-server 0.2.5 Command Allowlist Bypass via Shell Substitution third-party-advisory
- ENISA EUVD EUVD-2026-71116 third-party-advisory