CVE-2025-53536
published high CVSS 3.1 · 8.1Roo Code allows Potential Remote Code Execution via .vscode/settings.json
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| RooCodeInc | — | Roo-Code< 3.22.6 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| RooCodeInc | Roo-Code | < 3.22.6 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-552 CWE-552: Files or Directories Accessible to External Parties
References
3Provider assertions
2GitHub_M · cna
Roo Code allows Potential Remote Code Execution via .vscode/settings.json
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2299c57b0466eaf5d7341ebcb8dc0078e29c458470680ce372ce0e4b84b65a56
- Ingested
- 23 Sep 2026, 08:52:40 UTC
- Source record
- Official CVE record