---
id: CVE-2026-85660
title: >-
  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
summary: >-
  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 t…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
published: '2026-09-04'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T20:43:32.537'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85660'
references:
  - url: 'https://github.com/MladenSU/cli-mcp-server'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/MladenSU/cli-mcp-server/blob/main/src/cli_mcp_server/server.py
    label: disclosure@vulncheck.com
  - url: 'https://github.com/MladenSU/cli-mcp-server/issues/17'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/cli-mcp-server-0.2.5-command-allowlist-bypass-via-shell-substitution
    label: disclosure@vulncheck.com
  - url: 'https://github.com/MladenSU/cli-mcp-server/issues/17'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00622
epssPercentile: 0.47516
ingestedAt: '2026-09-24T20:51:40.243Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
