ZeroDay Brief
Happy holidays from ZeroDay Brief!
CVE-2025-53097

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.

CVSS
7.5High
Chance of exploitation (EPSS)
—
Published
Jun 27, 2025
In the news
Not yet
Vendor advisory More from this vendor

What to do

A serious security flaw in Roo Code that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.

Action: Apply the vendor's update or follow its advisory.

Affected versions
Roo-code
< 3.20.3

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.

CWE-74

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2025-53097 published (CVSS 7.5) (Jun 27, 2025)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Fri, Jun 27, 2025

  1. CVECVE-2025-53097 published (CVSS 7.5)CVE Program · 22:15 UTC

References 3

  • github.com Patch /RooCodeInc/Roo-Code/commit/10b2fb32ed047bbd7b8d10ef185c1ed345efcc92
  • github.com Patch /RooCodeInc/Roo-Code/commit/7d0b22f9e659dc6c26aab0bacbea27874986e772
  • github.com Vendor Advisory /RooCodeInc/Roo-Code/security/advisories/GHSA-wr2q-46pg-f228

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”