Description
Roo-Code through 3.54.0 contains an auto-approve bypass vulnerability that allows attackers to execute denied shell commands by exploiting a word-boundary mismatch in comment handling between the approval gate's shell parser and bash. Attackers can craft a command string with an allowlisted word immediately followed by a hash character, separator, and denied command to pass the approval gate while bash executes the denied command with the agent's auto-execute privileges on the developer's machine.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| RooCodeInc | Roo-Code | ≤ 3.54.0 | — |
References
- Researcher Disclosure technical-description exploit
- https://www.vulncheck.com/advisories/roo-code-auto-approve-bypass-via-shell-parser-word-boundary-mismatch third-party-advisory