.roo/mcp.json code execution | High | 8.1| Field | Value |
|---|---|
| CVE / NVD | CVE-2025-53098 |
| Date (index) | 2025-06-27 |
| Affected product (index) | Roo Code (.roo/mcp.json project MCP configuration code execution) |
| GHSA ID | GHSA-5x8h-m52g-5v54 |
| OWASP MCP Top 10 (2025) | MCP09 — Shadow MCP Servers |
| Published / disclosed | 2025-06-27 |
| Ecosystem | npm |
| Component | Roo Code |
| EPSS score | 0.006270000 (FIRST EPSS, 2026-09-26) |
| CVSS score | 8.1 (v4) |
| CWE | CWE-77 |
| Affected versions | see advisory |
| Fixed versions | see advisory |
| Fix status | Patched |
| Exploit status | Public advisory |
| Notes | Added during 2026-09-07 gap review against NVD/GitHub Advisory MCP searches. |
Roo Code stored project-specific MCP configuration in .roo/mcp.json within the VS Code workspace, allowing repository-supplied MCP command definitions to execute on developer machines.
Exposure depends on deployment: network-reachable MCP transports, enabled MCP features, local listeners without authentication, or trusted workspace/project MCP configuration treated as safe input.
Workspace MCP configuration was treated as trusted and could launch arbitrary stdio MCP commands.
Malicious repositories can achieve local code execution when a victim opens the workspace in Roo Code.
Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory.
Upgrade to the vendor-fixed version where available. Restrict MCP listeners to trusted networks, disable MCP features when not required, and treat project/workspace MCP configuration as untrusted input.
Prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.
https://github.com/RooCodeInc/Roo-Code/commit/7d0b22f9e659dc6c26aab0bacbea27874986e772