Vulnerability

CVE-2025-58372

criticalCVSS 3.1 9.8Published 5 Sep 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Roocode roo code

Weakness type

References

  • github.com /RooCodeInc/Roo-Code/commit/296edfc829a7c6efc8b5dbe09aa766a…
  • github.com /RooCodeInc/Roo-Code/releases/tag/v3.26.0
  • github.com /RooCodeInc/Roo-Code/security/advisories/GHSA-4pqh-4ggm-jfmm

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning