PT-2025-36340 · Microsoft +1 · Vscode +1

Thelicato

·

Published

2025-09-05

·

Updated

2025-09-06

·

CVE-2025-58372

CVSS v3.1
8.1
VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Name of the Vulnerable Software and Affected Versions:

Roo Code versions 3.25.23 and below

Description:

Roo Code, an AI-powered autonomous coding agent, is susceptible to a flaw where VS Code workspace configuration files (.code-workspace) lack the same protection as files within the .vscode folder. If the agent is configured for auto-approval of file writes, an attacker leveraging prompt injection could introduce malicious workspace settings or tasks. Upon reopening the workspace, these tasks could execute arbitrary code.

Recommendations:

Update to version 3.26.0 or later.

Fix

RCE

Code Injection

Incorrect Permission

Weakness Enumeration

Related Identifiers

CVE-2025-58372

Affected Products

Robocode
Vscode