Command Approval Bypass in Roo Code via Redirection
Roo Code through 3.54.0 contains a command approval bypass in getCommandDecision() allowing attackers to execute denied shell commands by prefixing them with a redirection operator.
CVE search metadata
CVE search record: CVE-2026-110202. Severity: high. CVSS: 8.8. KEV: no. Product: Roo Code (<= 3.54.0). Brief: Command Approval Bypass in Roo Code via Redirection. Brief link: https://feed.craftedsignal.io/briefs/2026-10-roo-code-bypass/
Roo Code versions 3.54.0 and earlier contain a command approval bypass vulnerability in the getCommandDecision() function. This vulnerability allows an attacker to execute denied shell commands on a developer's machine by utilizing a redirection operator (>&) as a prefix. The flaw stems from an insufficient validation mechanism in the allowlist logic, where an attacker can craft a payload via indirect prompt injection. By prefixing a malicious command with a redirection operator, the application incorrectly matches the input against an allowlist for a benign command (such as 'echo'), while the underlying shell proceeds to execute the intended malicious instructions. This poses a significant risk to developers using the extension in environments with sensitive access.
Immediate actions
Upgrade Roo Code to version 3.54.1 or later on all developer endpoints
Mitigations
Upgrade Roo Code to version 3.54.1
CVE-2026-110202