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.
Severity (CVSS)
| Base score | 7.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-436 — Interpretation Conflict
Affected products
| Vendor | Product | Versions |
|---|---|---|
| RooCodeInc | Roo-Code | 0 to <=3.54.0 |
References
- https://github.com/7rah/oss-cve/blob/main/roocode-group06-comment-boundary.md (technical-description exploit)
- https://www.vulncheck.com/advisories/roo-code-auto-approve-bypass-via-shell-parser-word-boundary-mismatch (third-party-advisory)
Generated from the official CVE List on 09 Sep 2026 07:01 UTC.