Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| RooCodeInc / Roo-Code | affected 0 through 3.54.0 |
CWE
CWE-436
References
- https://github.com/7rah/oss-cve/blob/main/roocode-group06-comment-boundary.md
- https://www.vulncheck.com/advisories/roo-code-auto-approve-bypass-via-shell-parser-word-boundary-mismatch
ADP enrichment
No English description supplied.
No references supplied.