CVE-2025-53097
CVE-2025-53097 is a medium-severity vulnerability in Roocode Roo Code with a CVSS 3.x base score of 5.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-74.
Key facts
- Severity: Medium (CVSS 3.x base score 5.9)
- EPSS exploit prediction: 0% (44th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-19434
- Weakness: CWE-74
- Affected product: Roocode Roo Code
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-53097?
- 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.
- How severe is CVE-2025-53097?
- CVE-2025-53097 has a CVSS 3.x base score of 5.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2025-53097 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (44th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-53097?
- CVE-2025-53097 affects Roocode Roo Code. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-53097?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-53097 have an EU (EUVD) identifier?
- Yes. CVE-2025-53097 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-19434.
- When was CVE-2025-53097 published?
- CVE-2025-53097 was published on 2025-06-27 and last updated on 2026-06-17.
References
- https://github.com/RooCodeInc/Roo-Code/commit/10b2fb32ed047bbd7b8d10ef185c1ed345efcc92
- https://github.com/RooCodeInc/Roo-Code/commit/7d0b22f9e659dc6c26aab0bacbea27874986e772
- https://github.com/RooCodeInc/Roo-Code/security/advisories/GHSA-wr2q-46pg-f228
Affected products (1)
- cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:*
More vulnerabilities in Roocode Roo Code
- CVE-2026-30307 — Critical (CVSS 9.8): Roo Code's command auto-approval module contains a critical OS command injection vulnerability that renders its…
- CVE-2025-58371 — Critical (CVSS 9.8): Roo Code is an AI-powered autonomous coding agent that lives in users' editors. In versions 3.26.6 and below, a Github…
- CVE-2026-110206 — High (CVSS 8.8): Roo Code through 3.54.0 contains a command approval bypass vulnerability in parseCommandLine() that allows attackers to…
- CVE-2026-110205 — High (CVSS 8.8): Roo Code through 3.54.0 contains a command approval bypass vulnerability in parseCommandLine() that discards command…
- CVE-2026-110204 — High (CVSS 8.8): Roo Code through 3.54.0 contains a command approval bypass vulnerability that allows attackers to run denied shell…
- CVE-2026-110203 — High (CVSS 8.8): Roo Code through 3.54.0 contains a command approval bypass vulnerability that allows attackers to auto-approve denied…
All CVEs affecting Roocode Roo Code →
Other CWE-74 (Improper Neutralization of Special Elements (Injection)) vulnerabilities
- CVE-2026-122051 — Critical (CVSS 10.0): A flaw has been found in Edimax BR-6208AC 1.32. Affected by this vulnerability is an unknown functionality of the file…
- CVE-2026-120198 — Critical (CVSS 10.0): A vulnerability has been found in WAVLINK WL-WN530BE1-A V251117. Affected is the function con_check_read_finish of the…
- CVE-2026-114575 — Critical (CVSS 10.0): A flaw has been found in TOTOLINK A950RG 4.1.2cu.5268_B20221104. Affected by this issue is the function…
- CVE-2026-108918 — Critical (CVSS 10.0): A vulnerability was identified in Edimax BR-6208AC 1.32. Impacted is an unknown function of the file…
- CVE-2026-108917 — Critical (CVSS 10.0): A vulnerability was determined in Edimax BR-6208AC 1.32. This issue affects some unknown processing of the file…
- CVE-2026-105135 — Critical (CVSS 10.0): A vulnerability has been found in InternLM MindSearch 0.1.0. This issue affects the function ExecutionAction.run of the…
Browse all CWE-74 (Improper Neutralization of Special Elements (Injection)) vulnerabilities →