Skip to main content
CVE-2025-53536VulnerabilityPublished

CVE-2025-53536: RooCodeInc Roo-Code · Exposed Files or Directories

Affects RooCodeInc Roo-CodeSource CVE Database V5

0

Not known to be exploited · CVSS 8.1 High : upgrade to 3.22.6 soon.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 55% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.22.6
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 2026-10-26.

What to do

Upgrade roocodeinc/Roo-Code to 3.22.6.

Affected software

ProductAffectedFixed in
GitHubroocodeinc/Roo-Codepkg:github/roocodeinc/Roo-CodeOther threatsAffected
  • <3.22.6
Fixed in
  • 3.22.6

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.22.6 or later to remediate this vulnerability. Beyond patching, organizations should audit and restrict the permissions granted to autonomous coding agents, avoiding auto-approval of write permissions unless absolutely necessary. Implement strict input validation and access controls on any interfaces that accept prompts or commands to the agent to prevent unauthorized submissions. Network segmentation and firewall rules should be applied to limit exposure of Roo-Code instances to trusted users and networks only. Monitoring and logging of configuration file changes and agent activities can help detect suspicious behavior early. Additionally, organizations should educate developers and DevOps teams about the risks of automated tools modifying development environment settings and encourage the use of least privilege principles. Regular security assessments of development tools and environments should be conducted to identify and mitigate similar risks proactively.

Description

Roo Code is an AI-powered autonomous coding agent. Prior to 3.22.6, if the victim had "Write" auto-approved, an attacker with the ability to submit prompts to the agent could write to VS Code settings files and trigger code execution. There were multiple ways to achieve that. One example is with the php.validate.executablePath setting which lets you set the path for the php executable for syntax validation. The attacker could have written the path to an arbitrary command there and then created a php file to trigger it. This vulnerability is fixed in 3.22.6.

References

Community reviews

Loading reviews…