Roo-Code through 3.54.0 Auto-Approve Bypass via Redirect Operator Stripping
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 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.
From the CVE record · VulnCheck