mcp-cve-project

CVE-2026-81835 | RooCodeInc Roo-Code up to 3.51.1. This affects the function fetchinstructions of the file maliciousmcpserver.py of the c | Low / 2

CVE Information

Field Value
CVE / NVD CVE-2026-81835
Date (index) 2026-08-28
Affected product (index) RooCodeInc Roo-Code up to 3.51.1. This affects the function fetch_instructions of the file malicious_mcp_server.py of the component MCP Integration Trust Model.
GHSA ID None — no GitHub advisory published (search)
OWASP MCP Top 10 (2025) MCP06 - Prompt Injection via Contextual Payloads
Published / disclosed 2026-08-28
Ecosystem Application / upstream project
Component RooCodeInc Roo-Code up to 3.51.1. This affects the function fetch_instructions of the file malicious
EPSS score 0.003000000 (FIRST EPSS, 2026-09-26)
CVSS score Low / 2
CWE CWE-74 / CWE-94
Affected versions < 3.51.1.
Fixed versions None published in NVD/OSV
Fix status Unfixed
Exploit status Public advisory / public CVE record
Notes Added during 2026-09-07 gap review against NVD, GitHub Advisory Database, OSV, OpenCVE, and related MCP advisory searches.

CVE Breakdown

What is the vulnerability?

A security vulnerability has been detected in RooCodeInc Roo-Code up to 3.51.1. This affects the function fetch_instructions of the file malicious_mcp_server.py of the component MCP Integration Trust Model. The manipulation leads to code injection. The attack is possible to be carried out remotely. The exploit has been disclosed publicly and may be used. Multiple isses were reported to the vendor beforehand. They explain, that “they all apply to Roo Code, a project we no longer support - the repository was archived a while ago, and we don’t encourage anyone to use it.” This vulnerability only affects products that are no longer supported by the maintainer.

Attack prerequisites / exposure

Exposure depends on deployment: reachable MCP transports, enabled MCP tools, local listeners without robust Host/Origin/authentication checks, or trusted workspace/project MCP configuration treated as safe input.

CVE is because of what bug?

The issue maps to CWE-74, CWE-94; review the upstream advisory for the exact vulnerable code path and patched implementation.

MCP-specific impact / why it matters

This issue affects an MCP server, SDK, gateway, client, integration, or MCP-enabled workflow where tool execution, transport exposure, secrets, files, or authorization boundaries are part of the risk surface.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory.

Fix / Remediation

Upgrade to the vendor-fixed version where available. Restrict MCP listeners to trusted networks, require authentication for HTTP/SSE/Streamable HTTP transports, validate Host and Origin headers, constrain filesystem and command-execution tools, and treat project/workspace MCP configuration as untrusted input.

Exploit / PoC

Prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.

Detection / verification