Vulnerability

CVE-2025-54377

highCVSS 3.1 7.8Published 23 Jul 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

From the NVD's configuration data (CPE), vendor first.

  • Roocode roo code

Weakness type

References

  • github.com /RooCodeInc/Roo-Code/commit/9d434c2db9b20eb5c78b698cb2b0037…
  • github.com /RooCodeInc/Roo-Code/security/advisories/GHSA-p278-52x9-cffx

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning