Description
Roo Code through 3.54.0 contains a command approval bypass vulnerability that allows attackers to run denied shell commands because parseCommandLine() treats ${ command; } substitutions as parameter expansions. Attackers using indirect prompt injection can embed denied commands inside an allowlisted command like echo to execute them without user approval on bash 5.3+ or ksh93.
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/shared/parse-co… 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
- 1% percentile: 44 · 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.