{"id":"CVE-2025-58370","published":"2025-09-05T22:09:04Z","modified":"2025-09-08T20:10:12Z","title":"Roo Code: Potential Remote Code Execution via Bash Parameter Expansion and Indirect Reference","vendor":"RooCodeInc","product":"Roo-Code","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00437,"percentile":0.38842,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/RooCodeInc/Roo-Code/security/advisories/GHSA-2rm5-cvcm-7592","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":7.77},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"roocodeinc","affectedVersions":[{"vendor":"RooCodeInc","product":"Roo-Code","versions":["< 3.26.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-09-08T20:10:04.725591Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-27162","exploited":false,"provenance":"source"}}