{"id":"CVE-2026-110205","published":"2026-10-13T19:18:44.003","lastModified":"2026-10-15T19:03:59.183","description":"Roo Code through 3.54.0 contains a command approval bypass vulnerability in parseCommandLine() that discards command substitutions placed next to * or ? glob characters. Attackers using indirect prompt injection can craft commands like echo *$(...) that match allowlisted prefixes, executing denied commands without user approval when auto-approval is enabled.","cvssScore":8.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cwes":["CWE-184"],"vendors":["roocode"],"products":["roo code"],"references":[{"url":"https://github.com/7rah/oss-cve/blob/6adb836d24ca446fd168c3acdc4c170beb77fe0f/roocode-glob-token.md","tags":["Exploit","Mitigation","Third Party Advisory"]},{"url":"https://github.com/RooCodeInc/Roo-Code/blob/v3.54.0/src/shared/parse-command.ts#L148-L172","tags":["Product"]},{"url":"https://www.vulncheck.com/advisories/roo-code-through-3.54.0-auto-approve-bypass-via-glob-token-discarding-command-substitution","tags":["Third Party Advisory"]}],"exploitRefs":[{"url":"https://github.com/7rah/oss-cve/blob/6adb836d24ca446fd168c3acdc4c170beb77fe0f/roocode-glob-token.md","tags":["Exploit","Mitigation","Third Party Advisory"]},{"url":"https://github.com/RooCodeInc/Roo-Code/blob/v3.54.0/src/shared/parse-command.ts#L148-L172","tags":["Product"]}],"hasPoc":true,"ai":{"summary":"Roo Code allows attackers to bypass command approval by crafting malicious commands that use glob characters like * or ? next to command substitutions, enabling execution of denied commands when auto-approval is enabled.","exploitability":"Moderately difficult to exploit as it requires indirect prompt injection to craft commands like echo *$(...) that match allowlisted prefixes, but the vulnerability is highly impactful once achieved.","blast_radius":"High impact across all systems using Roo Code with auto-approval enabled, potentially allowing full command execution and system compromise.","remediation":"Upgrade to roocode version 3.54.1 or later to fix the command approval bypass vulnerability.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["command-injection","bypass","cli","rce"],"model":"garnet-coder","analyzedAt":"2026-10-18T09:53:35.160Z"}}