Roo Code — Rce (CVE-2025-58370)
Date: 2025-09
Affected: roocode/roo_code
Attack vector: rce
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2025-58370
CWE: CWE-78
CVSS: 8.1 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)

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.


Mitigations:

Architectural layers (MAESTRO):