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.
- CVSS
- 8.1High
- Chance of exploitation (EPSS)
- 0.44%
- Published
- Sep 5, 2025
- In the news
- Not yet
What to do
A serious command injection flaw in Roo Code that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Roo-code
- < 3.26.0
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2025-58370 published (CVSS 8.1) (Sep 5, 2025)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Fri, Sep 5, 2025
- CVECVE-2025-58370 published (CVSS 8.1)CVE Program · 23:15 UTC
References 1
- github.com Vendor Advisory /RooCodeInc/Roo-Code/security/advisories/GHSA-2rm5-cvcm-7592