Description
Roo Code through 3.54.0 contains a command approval bypass vulnerability in getCommandDecision() that allows attackers to auto-approve denied shell commands by prefixing them with a bare >& redirect. Attackers using indirect prompt injection can make the allowlist match a redirect target like echo while the shell runs the denied command on the developer machine.
Published: 2026-10-13
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Command Injection
Action: Patch
AI Analysis

Impact

Roo-Code versions up to 3.54.0 contain a command approval bypass in the getCommandDecision routine. The flaw lets attackers prepend a bare >& redirect to any denied shell command, enabling the system to treat the stripped command as approved. When an attacker crafts such an input through indirect prompt injection, the redirect is removed before approval, yet the original command executes on the developer machine, potentially exposing the environment to arbitrary command execution.

Affected Systems

RooCodeInc's Roo-Code, affecting all releases through version 3.54.0. No subsequent releases are listed as affected.

Risk and Exploitability

The CVSS score of 7.7 indicates a high severity level. No EPSS score is available, and the vulnerability is not yet in the CISA KEV catalog. The attack vector is inferred to be remote code execution via an indirect prompt injection that supplies a shell command; the implementation flaw in the approval logic makes this possible once the input reaches the system. Even though the weakness is not widely exploited yet, the high CVSS and lack of mitigation mean that a successful exploit could compromise developer machines without additional privileges.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Roo-Code to a patched version that fixes the approval logic (e.g., 3.54.1 or later).
  • If an immediate upgrade is not possible, restrict or sanitize user input to reject bare '>' or '>>' operators before they reach the command approval routine.
  • Disable indirect prompt injection capabilities or limit the set of commands that can be auto‑approved until a patch is available.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

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

Wed, 14 Oct 2026 17: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 in getCommandDecision() that allows attackers to auto-approve denied shell commands by prefixing them with a bare >& redirect. Attackers using indirect prompt injection can make the allowlist match a redirect target like echo while the shell runs the denied command on the developer machine.
Title Roo-Code through 3.54.0 Auto-Approve Bypass via Redirect Operator Stripping
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-14T16:06:06.594Z

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

Link: CVE-2026-110202

cve-icon Vulnrichment

Updated: 2026-10-14T16:05:27.814Z

cve-icon NVD

Status : Analyzed

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

Modified: 2026-10-15T19:09:07.040

Link: CVE-2026-110202

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses