CVE-2025-58370: Roocode Roo Code

High severity, CVSS 8.1. EPSS: 0.4% chance of exploitation in the next 30 days.

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

  • Roocode Roo Code: before 3.26.0 (fixed in 3.26.0)

Published 2025-09-05. Last modified 2026-06-17.