CVE-2026-85660
9.2critical
cli-mcp-server 0.2.5 Command Allowlist Bypass via Shell Substitution
- Severity
- 9.2critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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
| Product or package | Versions | Reported by |
|---|---|---|
| MladenSU cli-mcp-server | up to 0.2.5 | CVE List |
All scores
| VulnCheck | 9.2critical CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
References
| https://github.com/MladenSU/cli-mcp-server/issues/17 | exploit, issue-tracking | |
| https://github.com/MladenSU/cli-mcp-server | product | |
| https://github.com/MladenSU/cli-mcp-server/blob/main/src/cli_mcp_server/server.py | technical-description | |
| https://www.vulncheck.com/advisories/cli-mcp-server-0.2.5-command-allowlist-bypass-via-shell-substitution | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-85660 changed 2026-09-04 | CVE Terms of Use |
| NVD | CVE-2026-85660 changed 2026-09-24 | Public domain |