CVE-2025-58370
8.1high
Roo Code: Potential Remote Code Execution via Bash Parameter Expansion and Indirect Reference
- Severity
- 8.1high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.48% (higher than 43% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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
| Product or package | Versions | Reported by |
|---|---|---|
| RooCodeInc Roo-Code | < 3.26.0 | CVE List |
| roocode roo_code | before 3.26.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-58370 changed 2025-09-08 | CVE Terms of Use |
| NVD | CVE-2025-58370 changed 2026-06-17 | Public domain |