{"id":"CVE-2025-58370","aliases":["CVE-2025-58370"],"related":[],"kind":"vulnerability","state":"published","title":"Roo Code: Potential Remote Code Execution via Bash Parameter Expansion and Indirect Reference","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2025-09-05T22:09:04.786Z","modified":"2026-06-17T09:44:22.477Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"< 3.26.0","status":"affected"}],"vendor":"RooCodeInc","product":"Roo-Code","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.26.0"}],"vendor":"roocode","product":"roo_code","cpe":"cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/RooCodeInc/Roo-Code/security/advisories/GHSA-2rm5-cvcm-7592","tags":["vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-09-08T20:10:04.725Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-58370","url":"https://www.cve.org/CVERecord?id=CVE-2025-58370","licence":"CVE Terms of Use","modified":"2025-09-08T20:10:12.235Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-58370","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58370","licence":"Public domain","modified":"2026-06-17T09:44:22.477Z"}],"updatedAt":"2026-11-25T22:59:04.293Z","epss":{"score":0.00485,"percentile":0.43403,"date":"2026-12-01T12:00:22.000Z"}}