CVE-2025-58373: Roo Code: Symlink-bypass of .rooignore can lead to unintended file disclosure
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-58373?
CVE-2025-58373 has been classified as a high-severity vulnerability due to its potential for exploitation via symlink bypass.
How do I fix CVE-2025-58373?
To mitigate CVE-2025-58373, upgrade Roo Code to version 3.26.0 or higher.
What vulnerability does CVE-2025-58373 describe?
CVE-2025-58373 describes a vulnerability that allows bypass of .rooignore protections using symlinks.
Who is affected by CVE-2025-58373?
Users of Roo Code versions 3.25.23 and below are affected by CVE-2025-58373.
What could an attacker achieve by exploiting CVE-2025-58373?
An attacker with write access to the workspace could exploit CVE-2025-58373 to manipulate the extension's behavior.