GHSA-mfc9-vhw7-f5w9HighCVSS 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 run denied shell commands because parseCommandLine() treats ${ command; } substitutions as parameter expansions. Attackers using indirect prompt injection can embed denied commands inside an allowlisted command like echo to execute them without user approval on bash 5.3+ or ksh93.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-110204
- https://github.com/7rah/oss-cve/blob/6adb836d24ca446fd168c3acdc4c170beb77fe0f/roocode-group03-funsub.md
- https://github.com/RooCodeInc/Roo-Code/blob/v3.54.0/src/shared/parse-command.ts#L74-L79
- https://www.vulncheck.com/advisories/roo-code-through-3.54.0-auto-approve-bypass-via-funsub-command-substitution
- https://github.com/advisories/GHSA-mfc9-vhw7-f5w9