CVE Details
Basic Information
| Title | Roo Code Lacks Line Break Validation in its Command Execution Tool |
|---|---|
| Type | cve |
| Published | 2025-07-23T20:36:01.878Z |
| Modified | 2025-07-23T20:48:31.557Z |
Product Information
| Vendor | RooCodeInc |
|---|---|
| Product | Roo-Code |
| Version | < 3.23.19 |
CVSS Information
| Base Score | 7.8 (HIGH) |
|---|---|
| Attack Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
AI Analysis
| AI Description | RooCode versions 3.23.18 and below lack validation of line breaks in command inputs, potentially allowing attackers to bypass security mechanisms and inject malicious commands. This vulnerability could lead to unauthorized code execution. It is fixed in version 3.23.19. |
|---|---|
| AI Severity | High |
| AI Vendor | RooCodeInc |
| AI Product | Roo-Code |
| AI Version | 3.23.18 and below |
Affected Products
- RooCodeInc Roo-Code < 3.23.19
Additional Information
| CWE List | CWE-77 |
|---|---|
| Source | GitHub_M |
Description
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.