CVE-2025-57771
BaseFortify
Publication date: 2025-08-22
Last updated on: 2025-08-22
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| roocodeinc | roo-code | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-78 | The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in Roo Code versions prior to 3.25.5, where the software 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 commands, an attacker who can submit crafted prompts may inject arbitrary commands to be executed alongside the intended command. Exploitation requires attacker access to submit prompts and the user enabling auto-approved command execution, which is disabled by default.
How can this vulnerability impact me? :
This vulnerability could allow an attacker to execute arbitrary code on the user's system if they can submit crafted prompts and the user has enabled auto-approved command execution. This could lead to unauthorized actions, data compromise, or system control by the attacker.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update Roo Code to version 3.25.5 or later where the issue is fixed. Additionally, ensure that auto-approved command execution is disabled, as it is by default, to prevent arbitrary command execution by attackers.