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.
History

Wed, 10 Sep 2025 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Roocode
Roocode roo Code
CPEs cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:*
Vendors & Products Roocode
Roocode roo Code

Mon, 08 Sep 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 05 Sep 2025 22:30:00 +0000

Type Values Removed Values Added
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.
Title Roo Code: Potential Remote Code Execution via Bash Parameter Expansion and Indirect Reference
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2025-09-05T22:09:04.786Z

Updated: 2025-09-08T20:10:12.235Z

Reserved: 2025-08-29T16:19:59.012Z

Link: CVE-2025-58370

cve-icon Vulnrichment

Updated: 2025-09-08T20:10:08.995Z

cve-icon NVD

Status : Analyzed

Published: 2025-09-05T23:15:30.260

Modified: 2025-09-10T15:11:46.347

Link: CVE-2025-58370

cve-icon Redhat

No data.