CVE-2025-58370
JSON

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 packageVersionsReported by
RooCodeInc Roo-Code< 3.26.0CVE List
roocode roo_codebefore 3.26.0NVD

Classification

CWE-78

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-58370 changed 2025-09-08CVE Terms of Use
NVDCVE-2025-58370 changed 2026-06-17Public domain