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.
Affected products
roocode: roo code
References4
- github.com/7rah/oss-cve/blob/6adb836d24ca446fd168c3acdc4c170beb… ExploitMitigationThird Party Advisory
- github.com/7rah/oss-cve/blob/6adb836d24ca446fd168c3acdc4c170beb… ExploitMitigationThird Party Advisory
- github.com/RooCodeInc/Roo-Code/blob/v3.54.0/src/core/auto-appro… Product
- www.vulncheck.com/advisories/roo-code-through-3.54.0-auto-appro… Third Party Advisory
Metrics
- CVSS 3.1
-
8.8
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 4.0
-
7.7
HIGH
Score source: CNA
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 35 · as of 11 November 2026
- CWE
- CWE-436
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.