GHSA-66pw-2qq8-258wHighCVSS 8.8
Roo Code through 3.54.0 contains a command approval bypass vulnerability in parseCommandLine()...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-110205
- https://github.com/7rah/oss-cve/blob/6adb836d24ca446fd168c3acdc4c170beb77fe0f/roocode-glob-token.md
- https://github.com/RooCodeInc/Roo-Code/blob/v3.54.0/src/shared/parse-command.ts#L148-L172
- https://www.vulncheck.com/advisories/roo-code-through-3.54.0-auto-approve-bypass-via-glob-token-discarding-command-substitution
- https://github.com/advisories/GHSA-66pw-2qq8-258w