CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Roocode

CVE-2025-58372
Roocode Roo Code vulnerability

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

Roo Code. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Roocode Roo Code runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Roocode products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.