Read the docs
TI-2025-34186 Aliases CVE-2025-54377

Roo Code Lacks Line Break Validation in its Command Execution Tool

Priority HIGH 69CWE-77Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
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-77.

Summary

Roo Code is an AI-powered autonomous coding agent that lives in users' editors. In versions 3.23.18 and below, RooCode does not validate line breaks (\n) in its command input, allowing potential bypass of the allow-list mechanism. The project appears to lack parsing or validation logic to prevent multi-line command injection. When commands are evaluated for execution, only the first line or token may be considered, enabling attackers to smuggle additional commands in subsequent lines. This is fixed in version 3.23.19.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01126 66th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Roo-Code (RooCodeInc): 3.23.19

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-Codebefore 3.23.193.23.19Patch availableCNA
  • Roo-Code VendorRooCodeInc Affected before 3.23.19 Fixed in 3.23.19 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:*before 3.23.19VulnerableRooCodeInc
  • cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:* Versions before 3.23.19 Vulnerable ·RooCodeInc

Remediation

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

Timeline

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

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-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

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