Arbitrary Command Execution Vulnerability in Roo Code by Roo Code Inc.
CVE-2025-53098

5.9MEDIUM

Key Information:

Vendor

Roocodeinc

Status
Vendor
CVE Published:
27 June 2025

What is CVE-2025-53098?

Roo Code, developed by Roo Code Inc., contains a vulnerability that involves its MCP configuration stored in the .roo/mcp.json file. Before version 3.20.3, this configuration format permitted the execution of arbitrary commands. An attacker who could submit prompts to the Roo Code agent might craft a malicious command that, if the user had enabled auto-approval for file writes, could lead to unauthorized command execution. The vulnerability's impact hinges on several conditions, including the user's configuration settings, which by default are not optimized for security. The recent update in version 3.20.3 incorporates additional opt-in measures to help secure Roo's configuration against such potential exploits.

Affected Version(s)

Roo-Code < 3.20.3

References

CVSS V3.1

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

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-53098 : Arbitrary Command Execution Vulnerability in Roo Code by Roo Code Inc.