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

- Severity: Critical 9.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-04T14:32:18.149Z
- Modified: 2026-09-24T20:43:32.537Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- MladenSU cli-mcp-server: up to 0.2.5

## Every score

- VulnCheck: CVSS:4.0 9.2 Critical `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: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## 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

- CVE List: [CVE-2026-85660](https://www.cve.org/CVERecord?id=CVE-2026-85660), CVE Terms of Use, modified 2026-09-04
- NVD: [CVE-2026-85660](https://nvd.nist.gov/vuln/detail/CVE-2026-85660), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-85660 · Whole record: https://cve.day/CVE-2026-85660.json · Rebuilt by cve.day 2026-11-25T22:59:36.296Z
