Description
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.
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 in Roo-Code’s command parsing logic, where a command approval bypass allows an attacker to embed a command substitution directly in the command position. The shell executes the substituted output without prompting the user, enabling arbitrary shell commands to run at the system level. This flaw can lead to full compromise of the host running the application.

Affected Systems

All versions of Roo-Code from RooCodeInc up to and including 3.54.0 are susceptible to this bypass. No further version granularity is listed in the advisory.

Risk and Exploitability

The CVSS score of 7.7 indicates moderate to high severity. The EPSS score is currently unavailable, and the flaw is not listed in CISA’s KEV catalog, suggesting no widespread exploitation yet. However, because the flaw is exercised via user-supplied command input, an attacker who gains the ability to submit commands—such as through an interface that accepts command strings—can trigger the bypass. The attack requires only the ability to inject a carefully crafted command substitution; no additional privileges are needed beyond the context in which the command is executed.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Roo-Code release that removes the command substitution bypass in parseCommandLine.
  • Re‑implement or enforce strict authorization checks around command evaluation, ensuring that only authenticated and authorized users can execute shell commands.
  • Monitor application logs for unexpected command substitutions and block or sanitize such input before execution.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 14 Oct 2026 17:30:00 +0000

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

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 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.
Title Roo-Code through 3.54.0 Auto-Approve Bypass via Command Substitution at Command Position
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-16T22:27:58.356Z

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

Link: CVE-2026-110206

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

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

Modified: 2026-10-16T23:16:59.687

Link: CVE-2026-110206

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses