CVE-2025-53536

Roo Code allows Potential Remote Code Execution via .vscode/settings.json

HIGH
8.1
CVSS Score
Published: July 7, 2025 at 05:57 PM UTC
Updated: June 17, 2026 at 09:38 AM UTC
2 products affected across 2 vendorsRoocodeRoo-Code

Using Roo-Code by RooCodeInc?

Get instant alerts when new vulnerabilities affect Roo-Code - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.1
Exploit prediction
EPSS 0.8%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.22.6
Affected range stops below 3.22.6, so it looks safe — our inference, not a vendor statement
v < 3.22.6
Affected range stops below 3.22.6, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.1HIGHGitHub_M
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-552

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card