Roo Code is an AI-powered autonomous coding agent that lives in users' editors. In versions prior to 3.25.5, Roo-Code fails to properly handle process substitution and single ampersand characters in the command parsing logic for auto-execute commands. If a user has enabled auto-approved execution for a command such as ls, an attacker who can submit crafted prompts to the agent may inject arbitrary commands to be executed alongside the intended command. Exploitation requires attacker access to submit prompts and for the user to have enabled auto-approved command execution, which is disabled by default. This vulnerability could allow an attacker to execute arbitrary code. The issue is fixed in version 3.25.5.
Metrics
Affected Vendors & Products
References
History
Sat, 23 Aug 2025 21:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Sat, 23 Aug 2025 12:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Roocode
Roocode roo-code |
|
Vendors & Products |
Roocode
Roocode roo-code |
Fri, 22 Aug 2025 16:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | Roo Code is an AI-powered autonomous coding agent that lives in users' editors. In versions prior to 3.25.5, Roo-Code fails to properly handle process substitution and single ampersand characters in the command parsing logic for auto-execute commands. If a user has enabled auto-approved execution for a command such as ls, an attacker who can submit crafted prompts to the agent may inject arbitrary commands to be executed alongside the intended command. Exploitation requires attacker access to submit prompts and for the user to have enabled auto-approved command execution, which is disabled by default. This vulnerability could allow an attacker to execute arbitrary code. The issue is fixed in version 3.25.5. | |
Title | Roo-Code potential remote code execution via auto-execute command parsing flaw | |
Weaknesses | CWE-78 | |
References |
| |
Metrics |
cvssV3_1
|

Status: PUBLISHED
Assigner: GitHub_M
Published: 2025-08-22T16:35:47.577Z
Updated: 2025-08-22T20:03:48.870Z
Reserved: 2025-08-19T15:16:22.917Z
Link: CVE-2025-57771

Updated: 2025-08-22T20:03:43.667Z

Status : Awaiting Analysis
Published: 2025-08-22T17:15:36.183
Modified: 2025-08-22T18:08:51.663
Link: CVE-2025-57771

No data.