Roo-Code 3.54.0 Auto-Approve Bypass via Shell Parser Word-Boundary Mismatch
RooCodeInc Roo-Code
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| RooCodeInc Roo-Code |
| No fix yet |
Original 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.
From the CVE record · VulnCheck