---
id: CVE-2026-110206
title: >-
  Roo Code through 3.54.0 contains a command approval bypass vulnerability in
  parseCommandLine() that allows attackers to auto-approve arbitrary shell
  commands by placing a command substitution in command position
summary: >-
  Roo Code through 3.54.0 contains a command approval bypass vulnerability in
  parseCommandLine() that allows attackers to auto-approve arbitrary shell
  commands by placing a command substitution in command position. Attackers
  using indirect…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-436
published: '2026-10-13'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T19:30:29.797'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-110206'
references:
  - url: >-
      https://github.com/7rah/oss-cve/blob/6adb836d24ca446fd168c3acdc4c170beb77fe0f/roocode-group16-output-as-command.md
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/RooCodeInc/Roo-Code/blob/v3.54.0/src/shared/parse-command.ts#L100-L172
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/roo-code-through-3.54.0-auto-approve-bypass-via-command-substitution-at-command-position
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-13T19:43:28.934Z'
---

## Overview

Roo Code through 3.54.0 contains a command approval bypass vulnerability in parseCommandLine() that allows attackers to auto-approve arbitrary shell commands by placing a command substitution in command position. Attackers using indirect prompt injection can submit commands like $(echo touch /tmp/x) that pass the echo allowlist check, causing the shell to execute the output without user approval.

## Remediation

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