TROYANOSYVIRUS
Back to CVEs

CVE-2025-58372

HIGH
8.1

Description

Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Versions 3.25.23 and below contain a vulnerability where certain VS Code workspace configuration files (.code-workspace) are not protected in the same way as the .vscode folder. If the agent was configured to auto-approve file writes, an attacker able to influence prompts (for example via prompt injection) could cause malicious workspace settings or tasks to be written. These tasks could then be executed automatically when the workspace is reopened, resulting in arbitrary code execution. This issue is fixed in version 3.26.0.

CVE Details

CVSS v3.1 Score8.1
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityHIGH
Privileges RequiredNONE
User InteractionNONE
Published9/5/2025
Last Modified9/15/2025
Sourcenvd
Honeypot Sightings0

Affected Products

roocode:roo_code

Weaknesses (CWE)

CWE-94CWE-732

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.