Roo-Code through 3.54.0 Auto-Approve Bypass via Glob Token Discarding 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 in parseCommandLine() that discards command substitutions placed next to * or ? glob characters. Attackers using indirect prompt injection can craft commands like echo *$(...) that match allowlisted prefixes, executing denied commands without user approval when auto-approval is enabled.
From the CVE record · VulnCheck