High severity · published Jul 23, 2025
CVE-2025-54377
Roo Code is an AI-powered autonomous coding agent that lives in users' editors
7.8
CVSS
1.1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 66% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RC
Roo Code · Roocode
before 3.23.19 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-54377
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-54377
Patch
https://github.com/RooCodeInc/Roo-Code/commit/9d434c2db9b20eb5c78b698cb2b0037cd2074534
Exploit
https://github.com/RooCodeInc/Roo-Code/security/advisories/GHSA-p278-52x9-cffx
More from Roo Code
9.8
CVE-2026-30307
Roo Code's command auto-approval module contains a critical OS command injection vulnerability that renders its whitelist security mechanism completely ineffective
9.8
CVE-2025-58372
Roo Code is an AI-powered autonomous coding agent that lives in users' editors
9.8
CVE-2025-58371
Roo Code is an AI-powered autonomous coding agent that lives in users' editors
8.8
CVE-2026-110206
Roo-Code through 3.54.0 Auto-Approve Bypass via Command Substitution at Command Position
8.8
CVE-2026-110205
Roo-Code through 3.54.0 Auto-Approve Bypass via Glob Token Discarding Command Substitution
