Read the docs
TI-2025-35656 Aliases CVE-2025-57771

Roo-Code potential remote code execution via auto-execute command parsing flaw

Priority MEDIUM 45CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-78.

Summary

Roo Code is an AI-powered autonomous coding agent that lives in users' editors. In versions prior to 3.25.5, Roo-Code fails to properly handle process substitution and single ampersand characters in the command parsing logic for auto-execute commands. If a user has enabled auto-approved execution for a command such as ls, an attacker who can submit crafted prompts to the agent may inject arbitrary commands to be executed alongside the intended command. Exploitation requires attacker access to submit prompts and for the user to have enabled auto-approved command execution, which is disabled by default. This vulnerability could allow an attacker to execute arbitrary code. The issue is fixed in version 3.25.5.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00747 55th percentileScored 2026-11-07
Fix Fixed Roo-Code (RooCodeInc): 3.25.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
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-Codebefore 3.25.53.25.5Patch availableCNA
  • Roo-Code VendorRooCodeInc Affected before 3.25.5 Fixed in 3.25.5 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:*——RooCodeInc
  • cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:* Versions — — ·RooCodeInc

Remediation

  • Fix · CNA Roo-Code (RooCodeInc) Fixed in 3.25.5

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-57771

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-2026-56894 Roo-Code 3.54.0 Auto-Approve Bypass via Shell Parser Word-Boundary Mismatch CVSS 4.0HIGH 7.7
  • TI-2026-45057 Roo Code 3.54.0 Command Injection via Parameter Expansion Parsing CVSS 4.0HIGH 7.7
  • TI-2025-34186 Roo Code Lacks Line Break Validation in its Command Execution Tool CVSS 3.1HIGH 7.8
See all 24 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences