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

Wed, 23 Jul 2025 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 23 Jul 2025 20:45:00 +0000

Type Values Removed Values Added
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.
Title Roo Code Lacks Line Break Validation in its Command Execution Tool
Weaknesses CWE-77
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2025-07-23T20:36:01.878Z

Updated: 2025-07-23T20:48:31.557Z

Reserved: 2025-07-21T16:12:20.733Z

Link: CVE-2025-54377

cve-icon Vulnrichment

Updated: 2025-07-23T20:48:28.607Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-07-23T21:15:27.060

Modified: 2025-07-25T15:29:44.523

Link: CVE-2025-54377

cve-icon Redhat

No data.