CVE-2025-58370: RooCodeInc Roo-Code · OS Command Injection
Affects RooCodeInc Roo-CodeSource CVE Database V5
Not known to be exploited · CVSS 8.1 High : upgrade to 3.26.0 soon.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.26.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 5 Sep 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.26.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RooCodeInc Roo-Code | Affected
| Fixed in
|
AI-suggested
To mitigate this vulnerability effectively, European organizations should: 1) Immediately upgrade all Roo-Code instances to version 3.26.0 or later, where the command parsing flaw is fixed. 2) Review and disable any auto-approval settings for command execution within Roo-Code to reduce the risk of automated exploitation. 3) Implement strict input validation and sanitization on any user-generated prompts or inputs that interact with Roo-Code to prevent injection of malicious commands. 4) Monitor logs and command execution histories for unusual or unexpected commands that could indicate exploitation attempts. 5) Employ endpoint detection and response (EDR) solutions to detect anomalous process executions stemming from Roo-Code. 6) Enforce the principle of least privilege on developer workstations and build servers to limit the impact of any successful command injection. 7) Conduct security awareness training for developers to recognize suspicious behaviors related to autonomous coding agents. 8) Integrate Roo-Code usage monitoring into existing security information and event management (SIEM) systems for real-time alerting. These targeted measures go beyond generic patching and help reduce the attack surface and detect potential exploitation attempts.
Description
Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Versions below 3.26.0 contain a vulnerability in the command parsing logic where the Bash parameter expansion and indirect reference were not handled correctly. If the agent was configured to auto-approve execution of certain commands, an attacker able to influence prompts could abuse this weakness to execute additional arbitrary commands alongside the intended one. This is fixed in version 3.26.0.