CVE-2025-54377: RooCodeInc Roo-Code · Command Injection
Affects RooCodeInc Roo-CodeSource CVE Database V5
Not known to be exploited · CVSS 7.8 High : upgrade to 3.23.19 soon.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 1.1% chance of exploitation in 30 days – higher than 66% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.23.19
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 23 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade roocodeinc/Roo-Code to 3.23.19.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubroocodeinc/Roo-Codepkg:github/roocodeinc/Roo-CodeOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately verify the Roo-Code version deployed in their development environments and upgrade to version 3.23.19 or later, where the vulnerability is patched. Beyond patching, organizations should enforce strict access controls to limit local user privileges on developer machines, minimizing the risk of exploitation by low-privilege users. Implementing application whitelisting and sandboxing for development tools can further contain potential command injection attempts. Monitoring and logging command execution within developer environments can help detect anomalous activities indicative of exploitation attempts. Additionally, organizations should educate developers about the risks of command injection and encourage cautious use of AI coding assistants, especially those that execute commands. Integrating static and dynamic code analysis tools to detect suspicious code changes can help identify tampering resulting from exploitation. Finally, organizations should maintain an inventory of all AI-powered development tools and ensure timely updates to mitigate emerging vulnerabilities.
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.