Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPlant prompt injection in agent-processed content
-
DeliveryDeliver denied command prefixed with bare >& redirect
-
ExploitAllowlist matches redirect target like echo
-
ExecutionDenied shell command auto-approved and executed
-
ImpactArbitrary code execution on developer machine
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service Interpretation consistency
|
| Exploitation Conditions | Exploitation requires: (1) Roo Code at or below 3.54.0 with the command auto-approval allowlist feature in use and at least one allowed command target such as echo; (2) the agent ingesting attacker-controlled content so an indirect prompt injection can inject the crafted command; and (3) the developer actively running the agent (UI:P). The specific trigger is a denied command prefixed with a bare >& redirect, which getCommandDecision() strips/evaluates such that the allowlist matches the redirect target while the shell runs the denied command. Limiting factors: the attacker has no direct access to the machine and must get malicious content in front of the agent, the victim must rely on auto-approval, and the issue is addressed in versions after 3.54.0. |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H) scores 7.7 (High) and reflects a network-reachable, unauthenticated flaw with full confidentiality, integrity and availability impact on the developer's host, but tempered by two real-world gates: AT:P (a specific attack requirement - the attacker must land an indirect prompt injection) and UI:P (the developer must be running the Roo Code agent). This is not in CISA KEV, so exploitation status is 'no public exploit identified at time of analysis'; however, detailed public technical write-ups exist (VulnCheck advisory plus a GitHub analysis with a direct pointer to the vulnerable getCommandDecision logic in commands.ts), which meaningfully lowers the barrier to reproduction even though no standalone weaponized exploit is flagged in the input. No EPSS score was provided, so statistical exploitation probability cannot be compared against the signals above. Net assessment: a genuine priority for teams actually using Roo Code with command auto-approval allowlists, because it converts the safety allowlist into an attacker-controllable channel for arbitrary command execution; for everyone else the realistic risk is bounded by the need for attacker-controlled content to reach the agent and for the victim to use auto-approval. No signals directly conflict, but note the CWE-436 (interpretation conflict) root cause and the 'Authentication Bypass' tag are a mismatch - this is an approval/authorization bypass, not an authentication bypass. |
| Exploit ScenarioDerived | An attacker plants malicious instructions in content the developer's Roo Code agent will process (for example a GitHub issue, web page, README, or dependency file), relying on indirect prompt injection. The injection issues a denied shell command prefixed with a bare >& redirect pointing at an allowlisted target such as echo, so getCommandDecision() matches the allowlist and auto-approves while the shell actually executes the denied command on the developer's machine. Detailed public technical write-ups describing this redirect-stripping bypass exist, but no standalone weaponized exploit is flagged in the input. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Roo Code through 3.54.0 can execute shell commands that its command auto-approval allowlist is meant to deny, because getCommandDecision() misinterprets a command prefixed with a bare >& redirect and matches the redirect target such as echo instead of the actual denied command. An attacker who can deliver malicious content to the coding agent via indirect prompt injection can bypass the allowlist when a developer runs the agent with auto-approval enabled, gaining full confidentiality, integrity and availability impact on the developer’s machine; exploitation is gated by the need for an indirect prompt injection and active user interaction, and no public exploit was identified at time of analysis. The issue affects versions at or below 3.54.0 and is addressed in versions after 3.54.0, with the supplied CVSS 4.0 vector scoring 7.7 High.
RemediationAI
Upgrade Roo Code beyond 3.54.0; the supplied assessment states the issue is addressed in versions after 3.54.0, though the exact first patched release is not specified in the provided data (Patch available per vendor advisory). If immediate upgrade is not possible, disable command auto-approval for shell commands and require manual approval for every command-trade-off: significantly reduced agent automation and developer convenience. Remove broad allowlist entries such as echo or any command that can be abused as a redirect target, since the bypass requires an allowed target; trade-off: legitimate automated workflows using those commands will require manual review. Run the agent in a restricted container, VM, or low-privilege account with no access to sensitive host files or credentials-trade-off: additional setup and possible breakage of workflows that need host integration. Treat all content the agent ingests as untrusted and prevent indirect prompt injection from web pages, repositories, or documents reaching the agent where feasible-trade-off: limits the agent’s usefulness on untrusted sources. Consult the VulnCheck advisory (https://www.vulncheck.com/advisories/roo-code-through-3.54.0-auto-approve-bypass-via-redirect-operator-stripping), the v3.54.0 source link (https://github.com/RooCodeInc/Roo-Code/blob/v3.54.0/src/core/auto-approval/commands.ts#L265-L274), and the NVD entry (https://nvd.nist.gov/vuln/detail/CVE-2026-110202).
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Roo Code is an AI coding agent that can execute shell commands; its auto-approval subsystem in src/core/auto-approval/commands.ts (getCommandDecision(), lines 265-274 in v3.54.0) decides whether a command may run without manual confirmation. The flaw is CWE-436 (Interpretation Conflict): the allowlist parser and the underlying shell interpret the same command string differently when a bare >& redirection is present. The parser treats a token after >&, such as echo, as the command to evaluate and allowlist, while the shell treats that token as a redirection target and executes the following denied command. Because the supplied CPE data is absent, exact CPE strings cannot be enumerated, but EUVD lists affected versions as Roo-Code 0 through ≤3.54.0 and the linked v3.54.0 source confirms the vulnerable function location. The provided CVSS 4.0 vector is AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H, while the independent assessment maps the risk to CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H, reflecting a network-reachable, unauthenticated issue that still requires a specific prompt-injection condition and developer interaction.
Know when Roo Code gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-delivered via indirect prompt injection that must land and relies on an allowlist configuration (AC:H), no auth needed (PR:N), developer must run the agent (UI:R), yielding full RCE on the host (C/I/A:H, scope unchanged).
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
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.
Executive ViewAI
Organizations using Roo Code version 3.54.0 or earlier with the auto-approval feature enabled face a high risk of unauthorized command execution on developer workstations. This could lead to theft of sensitive intellectual property, compromise of credentials, and potential lateral movement within the network. Leadership should prioritize remediation because the vulnerability bypasses existing security controls and affects a critical development tool.
Disable auto-approval; restrict Roo Code usage to trusted projects; implement application allowlisting; monitor endpoint logs for anomalous shell commands; train developers to recognize and report suspicious content.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Arbitrary command execution in Roo Code (the open-source AI coding agent) through version 3.54.0 lets attackers slip pas
Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Rated critical severity (CVSS 9.9), this
Roo Code is an AI-powered autonomous coding agent. Prior to 3.22.6, if the victim had "Write" auto-approved, an attacker
Roo Code is an AI-powered autonomous coding agent. The project-specific MCP configuration for the Roo Code agent is stor
Command approval bypass in Roo Code through 3.54.0 allows unauthenticated remote attackers to execute shell commands tha
Command-approval bypass in Roo Code through 3.54.0 lets attacker-influenced input cause the agent to execute arbitrary s
Auto-approval command filtering in Roo Code through 3.54.0 can be bypassed, letting an attacker run commands that should
Command approval bypass in Roo Code through 3.54.0 lets an attacker get denied shell commands auto-approved and executed
Cleartext transmission of OAuth credentials in RooCodeInc Roo-Code up to version 3.51.1 exposes sensitive OAuth tokens t
Path traversal in RooCodeInc Roo-Code through version 3.51.1 allows remote unauthenticated attackers to read and write f
Code injection in RooCodeInc Roo-Code through version 3.51.1 allows remote attackers to execute arbitrary code via the E
Code injection in RooCodeInc Roo-Code up to version 3.51.1 allows a remote low-privileged attacker to execute injected c
EUVD-2026-99243
GHSA-v45q-xfmj-r4wr
NVD
CVE.org
EPSS
Exploit-DB