Roo-Code through 3.54.0 Auto-Approve Bypass via Funsub Command Substitution
RooCodeInc Roo-Code
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| RooCodeInc Roo-Code |
| No fix yet |
Original 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.
From the CVE record · VulnCheck