Vulnerability · Published Sep 5, 2025 · Assigned by GitHub_M
CVE-2025-58373Roo Code: Symlink-bypass of .rooignore can lead to unintended file disclosure
Medium 5.5
In plain English
A medium-severity security flaw in Roo-Code from RooCodeInc. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities).
Official 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 .rooignore protections could be bypassed using symlinks. This allows an attacker with write access to the workspace to trick the extension into reading files that were intended to be excluded. As a result, sensitive files such as .env or configuration files could be exposed. An attacker able to modify files within the workspace could gain unauthorized access to sensitive information by bypassing .rooignore rules. This could include secrets, configuration details, or other excluded project data. This is fixed in version 3.26.0.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| RooCodeInc | Roo-Code | < 3.26.0 |
Weakness: CWE-59 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
References
- https://github.com/RooCodeInc/Roo-Code/security/advisories/GHSA-p76r-7mc3-qh7c x_refsource_CONFIRM
- https://github.com/RooCodeInc/Roo-Code/pull/7405 x_refsource_MISC
- https://github.com/RooCodeInc/Roo-Code/releases/tag/v3.26.0 x_refsource_MISC