Read the docs

Auto-approve bypass in Roo-Code via glob and command substitution

Priority HIGH 69CWE-184Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00506 43rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
RooCodeIncRoo-Codeup to 3.54.0—No fix listedCNA
  • Roo-Code VendorRooCodeInc Affected up to 3.54.0 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:*up to 3.54.0VulnerableRooCodeInc
  • 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

  1. 2026-10-13 Threatist record created from CVE-2026-110205
  2. 2026-10-13 Alias added: GHSA-66pw-2qq8-258w
  3. 2026-10-14 Priority changed: MEDIUM → LOW
  4. 2026-10-26 CISA SSVC decision points changed
  5. 2026-10-26 Priority changed: LOW → HIGH

References

  • 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
See all 15 →

Sources