GHSA-c42p-7mq6-q83wHighCVSS 8.8
Roo Code through 3.54.0 contains a command approval bypass vulnerability that allows attackers to...
🔗 CVE IDs covered (1)
📋 Description
Roo Code through 3.54.0 contains a command approval bypass vulnerability that allows attackers to auto-approve denied shell commands by abusing quote-masking regex in parseCommandLine(). Attackers can use indirect prompt injection with escaped or single-quoted double quotes to hide command separators behind allowlisted prefixes like echo, executing commands without user approval.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-110203
- https://github.com/7rah/oss-cve/blob/6adb836d24ca446fd168c3acdc4c170beb77fe0f/roocode-quote-boundary.md
- https://github.com/RooCodeInc/Roo-Code/blob/v3.54.0/src/shared/parse-command.ts#L111-L115
- https://www.vulncheck.com/advisories/roo-code-through-3.54.0-auto-approve-bypass-via-quote-masking-desynchronization
- https://github.com/advisories/GHSA-c42p-7mq6-q83w