CVE-2026-110206

Roo-Code through 3.54.0 Auto-Approve Bypass via Command Substitution at Command Position

Published Oct 13, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Roocode roo-code
Vendors & Products Roocode roo-code
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 16, 2026, 10:27 PM
Reserved
Oct 13, 2026, 5:58 PM
Status
Analyzed
Published
Oct 13, 2026, 7:18 PM
Modified
Oct 16, 2026, 11:16 PM