Vulnerabilities · 2025 · Roocode
CVE-2025-54377
Roocode Roo Code vulnerability
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
Roo Code. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Roocode Roo Code runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Roocode products
CVE-2025-65946CVE-2025-58374CVE-2025-58373CVE-2025-58372CVE-2025-58371CVE-2025-58370CVE-2025-53536CVE-2025-53098All 10
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.