{"id":"CVE-2026-110206","published":"2026-10-13T19:18:44.157","lastModified":"2026-10-16T23:16:59.687","description":"Roo Code through 3.54.0 contains a command approval bypass vulnerability in parseCommandLine() that allows attackers to auto-approve arbitrary shell commands by placing a command substitution in command position. Attackers using indirect prompt injection can submit commands like $(echo touch /tmp/x) that pass the echo allowlist check, causing the shell to execute the output without user approval.","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-group16-output-as-command.md","tags":["Exploit","Mitigation","Third Party Advisory"]},{"url":"https://github.com/RooCodeInc/Roo-Code/blob/v3.54.0/src/shared/parse-command.ts#L100-L172","tags":["Product"]},{"url":"https://www.vulncheck.com/advisories/roo-code-through-3.54.0-auto-approve-bypass-via-command-substitution-at-command-position","tags":["Third Party Advisory"]}],"exploitRefs":[{"url":"https://github.com/7rah/oss-cve/blob/6adb836d24ca446fd168c3acdc4c170beb77fe0f/roocode-group16-output-as-command.md","tags":["Exploit","Mitigation","Third Party Advisory"]},{"url":"https://github.com/RooCodeInc/Roo-Code/blob/v3.54.0/src/shared/parse-command.ts#L100-L172","tags":["Product"]}],"hasPoc":true,"ai":{"summary":"Roo Code allows attackers to bypass command approval by injecting command substitutions that execute arbitrary shell commands without user approval. This vulnerability enables remote code execution through indirect prompt injection.","exploitability":"Exploitation is relatively straightforward requiring only a single malicious command injection like $(echo touch /tmp/x) that passes the echo allowlist check, with no additional prerequisites needed.","blast_radius":"The impact could be significant across all systems running Roo Code 3.54.0 or earlier, potentially allowing full system compromise through arbitrary command execution.","remediation":"Upgrade to Roo Code 3.55.0 or later to address this command approval bypass vulnerability.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","command-injection","cli","shell"],"model":"garnet-coder","analyzedAt":"2026-10-18T09:53:40.570Z"}}