CVE-2025-58372
Last modified
CVE-2025-58372 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.50% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Roocode | Roo Code | < 3.26.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-58372?
How severe is CVE-2025-58372?
How do I fix CVE-2025-58372?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-58366Onyxia is a data science environment for kubernetes. In vers…9.4
- CVE-2025-58367DeepDiff is a project focused on Deep Difference and search …10
- CVE-2025-58369fs2 is a compositional, streaming I/O library for Scala. Ver…5.3
- CVE-2025-5837A vulnerability classified as critical has been found in PHP…8.8
- CVE-2025-58370Roo Code is an AI-powered autonomous coding agent that lives…8.1
- CVE-2025-58371Roo Code is an AI-powered autonomous coding agent that lives…9.8
- CVE-2025-58373Roo Code is an AI-powered autonomous coding agent that lives…6.5
- CVE-2025-58374Roo Code is an AI-powered autonomous coding agent that lives…7.8
- CVE-2025-58375Frappe is a full-stack web application framework. Versions 1…8.1
- CVE-2025-58379Brocade Fabric OS before 9.2.1 has a vulnerability that coul…5.5
- CVE-2025-5838A vulnerability classified as critical was found in PHPGuruk…8.8
- CVE-2025-58380A vulnerability in Brocade Fabric OS before 9.2.1 could allo…2.3
Are you affected by CVE-2025-58372?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
