CVE-2025-53097: RooCodeInc Roo-Code · Injection
Affects RooCodeInc Roo-CodeSource CVE Database V5
Not known to be exploited · CVSS 5.9 Medium : upgrade to 3.20.3 when convenient.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.20.3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Jun 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.20.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubroocodeinc/Roo-Codepkg:github/roocodeinc/Roo-CodeOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately upgrade Roo-Code to version 3.20.3 or later to ensure the `search_files` tool respects workspace boundaries and mitigates unauthorized file reads. Until the upgrade is applied, organizations should consider disabling schema fetching in VS Code to prevent automatic network requests that could leak data. Additionally, organizations should audit and restrict access to the Roo-Code agent, ensuring only trusted users can submit prompts, thereby reducing the risk of prompt injection. Implementing monitoring for unusual network requests originating from development environments can help detect potential exploitation attempts. Security teams should also review and harden the supply chain and development environment security to prevent attackers from injecting malicious prompts. Finally, educating developers about the risks of prompt injection and enforcing strict input validation or sanitization in any custom integrations with Roo-Code can further reduce exposure.
Description
Roo Code is an AI-powered autonomous coding agent. Prior to version 3.20.3, there was an issue where the Roo Code agent's `search_files` tool did not respect the setting to disable reads outside of the VS Code workspace. This means that an attacker who was able to inject a prompt into the agent could potentially read a sensitive file and then write the information to a JSON schema. Users have the option to disable schema fetching in VS Code, but the feature is enabled by default. For users with this feature enabled, writing to the schema would trigger a network request without the user having a chance to deny. This issue is of moderate severity, since it requires the attacker to already be able to submit prompts to the agent. Version 3.20.3 fixed the issue where `search_files` did not respect the setting to limit it to the workspace. This reduces the scope of the damage if an attacker is able to take control of the agent through prompt injection or another vector.