Arbitrary Code Execution Vulnerability Affecting Roo Code by Roo Code Inc.
CVE-2025-58372
8.1HIGH
What is CVE-2025-58372?
Roo Code, an AI-driven coding agent, has a flaw in version 3.25.23 and earlier where certain VS Code workspace files are not secured as intended. If auto-approval for file writes is enabled, a threat actor can manipulate input prompts to write harmful workspace settings or tasks. When the workspace reopens, these tasks can execute automatically, leading to arbitrary code execution. Users are advised to upgrade to version 3.26.0 to mitigate this risk.
Affected Version(s)
Roo-Code < 3.26.0