---
id: CVE-2026-110204
title: >-
  Roo Code through 3.54.0 contains a command approval bypass vulnerability that
  allows attackers to run denied shell commands because parseCommandLine()
  treats ${ command; } substitutions as parameter expansions
summary: >-
  Roo Code through 3.54.0 contains a command approval bypass vulnerability that
  allows attackers to run denied shell commands because parseCommandLine()
  treats ${ command; } substitutions as parameter expansions. Attackers using
  indirect p…
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-13T20:17:27.347'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-110204'
references:
  - url: >-
      https://github.com/7rah/oss-cve/blob/6adb836d24ca446fd168c3acdc4c170beb77fe0f/roocode-group03-funsub.md
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/RooCodeInc/Roo-Code/blob/v3.54.0/src/shared/parse-command.ts#L74-L79
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/roo-code-through-3.54.0-auto-approve-bypass-via-funsub-command-substitution
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/7rah/oss-cve/blob/6adb836d24ca446fd168c3acdc4c170beb77fe0f/roocode-group03-funsub.md
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
ingestedAt: '2026-10-13T19:43:28.933Z'
---

## Overview

Roo Code through 3.54.0 contains a command approval bypass vulnerability that allows attackers to run denied shell commands because parseCommandLine() treats ${ command; } substitutions as parameter expansions. Attackers using indirect prompt injection can embed denied commands inside an allowlisted command like echo to execute them without user approval on bash 5.3+ or ksh93.

## Remediation

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