CVE-2025-58372: RooCodeInc Roo-Code · Incorrect Permissions
Affects RooCodeInc Roo-CodeSource CVE Database V5
Not known to be exploited · CVSS 8.1 High : upgrade to 3.26.0 soon.
Data as of 26 Oct 2026, 15:59 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.26.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 5 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade RooCodeInc Roo-Code to 3.26.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RooCodeInc Roo-Code | Affected
| Fixed in
|
AI-suggested
European organizations should immediately upgrade Roo-Code to version 3.26.0 or later to ensure the vulnerability is patched. If you cannot patch yet, organizations should disable the auto-approve file write feature in Roo-Code to prevent unauthorized modifications to workspace configuration files. Additionally, developers should restrict the use of untrusted or external code snippets and carefully monitor prompt inputs to the AI agent to mitigate prompt injection risks. Implementing endpoint detection and response (EDR) solutions that can detect anomalous task executions or changes to workspace files can provide early warning of exploitation attempts. Organizations should also enforce strict access controls on development environments and conduct regular audits of workspace configuration files for unauthorized changes. Training developers on secure AI tool usage and prompt hygiene can reduce the likelihood of successful prompt injection attacks. Finally, integrating code integrity verification and sandboxing of automated tasks within development environments can limit the impact of any malicious code execution.
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.