Auto-approve bypass in Roo-Code via glob and command substitution
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Roo-Code through 3.54.0 contains a command approval bypass in parseCommandLine(), which discards command substitutions placed next to glob characters. An attacker using indirect prompt injection can craft commands that match allowlisted prefixes and run denied commands without user approval when auto-approval is enabled (CWE-184). A public exploit is linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| RooCodeInc | Roo-Code | up to 3.54.0 | — | No fix listed | CNA |
- Roo-Code VendorRooCodeInc Affected up to 3.54.0 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:* | up to 3.54.0 | Vulnerable | RooCodeInc |
- cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:* Versions up to 3.54.0 Vulnerable ·RooCodeInc
Remediation
The sources list no fixed version for Roo-Code.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Timeline
- 2026-10-13 Threatist record created from CVE-2026-110205
- 2026-10-13 Alias added: GHSA-66pw-2qq8-258w
- 2026-10-14 Priority changed: MEDIUM → LOW
- 2026-10-26 CISA SSVC decision points changed
- 2026-10-26 Priority changed: LOW → HIGH
References
More RooCodeInc Roo Code vulnerabilities
- TI-2026-73421 Auto-approve bypass in Roo-Code runs denied shell commands CVSS 4.0HIGH 7.7
- TI-2026-73419 Auto-approve bypass in Roo-Code via redirect operator stripping CVSS 4.0HIGH 7.7
- TI-2025-34186 Roo Code Lacks Line Break Validation in its Command Execution Tool CVSS 3.1HIGH 7.8
- TI-2025-36158 Roo Code is vulnerable to command injection via GitHub actions workflow CVSS 4.0CRITICAL 9.9
- TI-2026-23506 Roo Code's command auto-approval module contains a critical OS command injection… CVSS 3.1CRITICAL 9.8
- TI-2025-36159 Roo Code: Potential Remote Code Execution via .code-workspace CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-110205 · CVE Program
- CVE-2026-110205 · NVD
- FIRST EPSS
- GHSA-66pw-2qq8-258w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences