Skip to main content
← All vulnerabilities
CVE-2025-54377

Roo Code Lacks Line Break Validation in its Command Execution Tool

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.23.19
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • RooCodeInc Roo-Code

    fixed in 3.23.19

References 2

GitHub · RooCodeInc/Roo-Code