Skip to content
HighVulnerabilityLLM-specific

CVE-2025-53536: Roo Code code execution via auto-approved Write to VS Code settings

Identifier
CVE-2025-53536
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%

Summary

CVE-2025-53536 affects Roo Code, an AI-powered autonomous coding agent, prior to 3.22.6. When the victim had "Write" auto-approved, an attacker able to submit prompts to the agent could write to VS Code settings files and trigger code execution. One example uses the php.validate.executablePath setting, where the attacker sets an arbitrary command as the PHP path and then creates a PHP file to trigger it.

Mitigation

Fixed in 3.22.6.