Code Injection Vulnerability in Roo Code AI-Coding Assistant
CVE-2025-57771

8.1HIGH

Key Information:

Vendor

Roocodeinc

Status
Vendor
CVE Published:
22 August 2025

What is CVE-2025-57771?

Roo Code, an AI-powered autonomous coding assistant, has a code injection vulnerability in versions prior to 3.25.5 due to improper handling of process substitution and ampersand characters within its command parsing logic. This issue can allow attackers to execute arbitrary commands when users enable auto-approved command execution. Although this feature is disabled by default, if exploited, it can lead to significant security risks as it permits the execution of unintended commands when the operator's input is manipulated. The vulnerability has been addressed in the latest version, enhancing the security of users' development environments.

Affected Version(s)

Roo-Code < 3.25.5

References

CVSS V3.1

Score:
8.1
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-57771 : Code Injection Vulnerability in Roo Code AI-Coding Assistant