{"id":"CVE-2026-110202","published":"2026-10-13T19:18:43.543","lastModified":"2026-10-15T19:09:07.040","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.","cvssScore":8.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cwes":["CWE-436"],"vendors":["roocode"],"products":["roo code"],"references":[{"url":"https://github.com/7rah/oss-cve/blob/6adb836d24ca446fd168c3acdc4c170beb77fe0f/roocode-group14-redirect.md","tags":["Exploit","Mitigation","Third Party Advisory"]},{"url":"https://github.com/RooCodeInc/Roo-Code/blob/v3.54.0/src/core/auto-approval/commands.ts#L265-L274","tags":["Product"]},{"url":"https://www.vulncheck.com/advisories/roo-code-through-3.54.0-auto-approve-bypass-via-redirect-operator-stripping","tags":["Third Party Advisory"]},{"url":"https://github.com/7rah/oss-cve/blob/6adb836d24ca446fd168c3acdc4c170beb77fe0f/roocode-group14-redirect.md","tags":["Exploit","Mitigation","Third Party Advisory"]}],"exploitRefs":[{"url":"https://github.com/7rah/oss-cve/blob/6adb836d24ca446fd168c3acdc4c170beb77fe0f/roocode-group14-redirect.md","tags":["Exploit","Mitigation","Third Party Advisory"]},{"url":"https://github.com/RooCodeInc/Roo-Code/blob/v3.54.0/src/core/auto-approval/commands.ts#L265-L274","tags":["Product"]},{"url":"https://github.com/7rah/oss-cve/blob/6adb836d24ca446fd168c3acdc4c170beb77fe0f/roocode-group14-redirect.md","tags":["Exploit","Mitigation","Third Party Advisory"]}],"hasPoc":true,"ai":{"summary":"Roo Code's command approval system can be bypassed by prefixing denied shell commands with a bare >& redirect, allowing attackers to auto-approve commands that would otherwise be denied. This creates a high-impact vulnerability where attackers can execute arbitrary shell commands on developer machines.","exploitability":"The exploit is relatively straightforward to execute as it requires only prefixing a denied command with >& and leveraging indirect prompt injection to make the allowlist match a redirect target like echo, with no complex preconditions needed.","blast_radius":"If exploited, this vulnerability could lead to full system compromise of developer machines through arbitrary command execution, potentially enabling attackers to access sensitive code repositories, credentials, and other development assets.","remediation":"Upgrade to Roo Code 3.55.0 or later to address the command approval bypass vulnerability.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","command-injection","cli"],"model":"garnet-coder","analyzedAt":"2026-10-18T09:53:18.737Z"}}