CVE-2026-85660
cli-mcp-server 0.2.5 contains a command allowlist bypass …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/MladenSU/cli-mcp-server
- github.com/MladenSU/cli-mcp-server/blob/main/src/cli_mcp_server/server.py
- github.com/MladenSU/cli-mcp-server/issues/17
- www.vulncheck.com/advisories/cli-mcp-server-0.2.5-command-allowlist-bypass-via-shell-subst
- nvd.nist.gov/vuln/detail/CVE-2026-85660
- cve.org/CVERecord?id=CVE-2026-85660
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.