Description
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.
Published: 2026-10-13
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Command Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability arises from a flaw in parseCommandLine() that treats ${ command; } substitutions as parameter expansions. This allows an attacker to embed a denied shell command inside an allowlisted command such as echo, thereby executing arbitrary commands without user approval on bash 5.3+ or ksh93. The result is the ability to run any command the system user can execute, constituting remote code execution. The weakness is identified as CWE-436.

Affected Systems

The affected product is Roo-Code from RooCodeInc. All releases through version 3.54.0 are vulnerable. Users running any version of Roo-Code up to and including 3.54.0 may be impacted.

Risk and Exploitability

The CVSS score is 7.7, indicating high severity. EPSS is not available, but the lack of a KEV listing suggests that exploitation has not been widely observed yet. Attackers would need to supply input that includes a ${ … } construct, most likely through a channel that accepts user prompts or scripts. Once injected, the command is executed without further approval, giving the attacker full control of the underlying shell environment.

Generated by OpenCVE AI on October 17, 2026 at 06:17 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Roo-Code to a version newer than 3.54.0 where the parseCommandLine bug is fixed.
  • If an upgrade is not immediately possible, apply a local patch to modify parseCommandLine() so that any ${ … } syntax is either escaped or rejected, restoring the original allowed-command behavior.
  • Validate all user‑supplied input to prevent indirect prompt injection; apply strict input sanitization for any parameter that could be interpreted by the shell.

Generated by OpenCVE AI on October 17, 2026 at 06:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 14 Oct 2026 13:45:00 +0000

Type Values Removed Values Added
First Time appeared Roocode roo-code
Vendors & Products Roocode roo-code

Tue, 13 Oct 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 13 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Roo-Code through 3.54.0 Auto-Approve Bypass via Funsub Command Substitution
First Time appeared Roocode
Roocode roo Code
Weaknesses CWE-436
CPEs cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:*
Vendors & Products Roocode
Roocode roo Code
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Roocode Roo-code Roo Code
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-13T19:34:25.714Z

Reserved: 2026-10-13T17:58:35.026Z

Link: CVE-2026-110204

cve-icon Vulnrichment

Updated: 2026-10-13T19:34:19.470Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-13T19:18:43.857

Modified: 2026-10-15T19:05:21.397

Link: CVE-2026-110204

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T06:30:05Z

Weaknesses