CVE-2026-81835

RooCodeInc Roo-Code MCP Integration Trust Model malicious_mcp_server.py fetch_instructions code injection

Published Aug 27, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability is a code injection flaw in the fetch_instructions function of malicious_mcp_server.py, part of the MCP Integration Trust Model in Roo-Code. Because user supplied data is inserted into code that is subsequently executed, an attacker can inject arbitrary code and run it on the system. The exploit can be performed remotely, as the function can be triggered over the network and has been publicly disclosed. The impact is the execution of attacker‑supplied code.

Affected Systems

The flaw exists in RooCodeInc’s Roo-Code product up to version 3.51.1. The vendor has archived the repository and no longer provides support for this product. No newer supported release includes this code path and therefore the issue is limited to the unsupported product line.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate level of severity, while the EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog. Attackers can reach the vulnerable code remotely, so the likelihood of exploitation remains significant in environments that still run the affected Roo-Code version. Because the product is unsupported, no vendor patch exists, increasing the risk that the flaw will remain unaddressed unless an alternative solution is adopted.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Migrate Roo-Code to a supported version or replace it with an alternative product, since the vendor no longer maintains the original code.
  • Disable or remove the MCP Integration Trust Model component (malicious_mcp_server.py) to eliminate the code‑execution path.
  • If migration is not possible, patch the fetch_instructions function to thoroughly validate and sanitize all input before code generation or execution, following input‑validation best practices.

Generated by OpenCVE AI on August 28, 2026 at 09:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Roocode
Roocode roo-code
Vendors & Products Roocode
Roocode roo-code
Type Values Removed Values Added
Description 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.
Title RooCodeInc Roo-Code MCP Integration Trust Model malicious_mcp_server.py fetch_instructions code injection
First Time appeared Roocodeinc
Roocodeinc roo-code
Weaknesses CWE-74
CWE-94
CPEs cpe:2.3:a:roocodeinc:roo-code:*:*:*:*:*:*:*:*
Vendors & Products Roocodeinc
Roocodeinc roo-code
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 5.5, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Aug 28, 2026, 5:45 PM
Reserved
Aug 27, 2026, 2:49 PM
Status
Deferred
Published
Aug 28, 2026, 12:18 AM
Modified
Aug 28, 2026, 8:20 PM