Unrated severityNVD Advisory· Published Jul 23, 2025· Updated Jul 23, 2025
Roo Code Lacks Line Break Validation in its Command Execution Tool
CVE-2025-54377
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.
Affected products
2- Range: <=3.23.18
- RooCodeInc/Roo-Codev5Range: < 3.23.19
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2- github.com/RooCodeInc/Roo-Code/commit/9d434c2db9b20eb5c78b698cb2b0037cd2074534mitrex_refsource_MISC
- github.com/RooCodeInc/Roo-Code/security/advisories/GHSA-p278-52x9-cffxmitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.