Read the docs

Command substitution bypasses command approval in Roo Code

Priority LOW 36CWE-436Published · 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 from RooCodeInc through 3.54.0 has a command approval bypass in parseCommandLine() (CWE-436). A command substitution placed in command position passes the echo allowlist check, so arbitrary shell commands are auto-approved. An attacker using indirect prompt injection can trigger this without user approval, and 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 allows attackers to auto-approve arbitrary shell commands by placing a command substitution in command position. Attackers using indirect prompt injection can submit commands like $(echo touch /tmp/x) that pass the echo allowlist check, causing the shell to execute the output without user approval.

Why it matters now

Exploitation None reported 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
None
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-110206
  2. 2026-10-13 Alias added: GHSA-r2h8-r3xm-p2rm
  3. 2026-10-14 Priority changed: MEDIUM → LOW
  4. 2026-10-18 CISA SSVC decision points changed

References

  • TI-2026-73422 Auto-approve bypass in Roo-Code via glob and command substitution CVSS 4.0HIGH 7.7
  • 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
See all 15 →

Sources