Unrated severityNVD Advisory· Published Jul 7, 2025· Updated Jul 8, 2025
Roo Code allows Potential Remote Code Execution via .vscode/settings.json
CVE-2025-53536
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 products
2- Range: <3.22.6
- RooCodeInc/Roo-Codev5Range: < 3.22.6
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/RooCodeInc/Roo-Code/commit/1be6fce1a6864ae63e8160b0666db2c647f2dbbamitrex_refsource_MISC
- github.com/RooCodeInc/Roo-Code/commit/3993406ebdc0553a32ef391a799a4fb124930a1cmitrex_refsource_MISC
- github.com/RooCodeInc/Roo-Code/security/advisories/GHSA-3765-5vjr-qjgmmitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.