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.
Published: 2026-08-27
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Remote code injection
Action: Migrate
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Fri, 28 Aug 2026 09:15:00 +0000

Type Values Removed Values Added
First Time appeared Roocode
Roocode roo-code
Vendors & Products Roocode
Roocode roo-code

Thu, 27 Aug 2026 18:00:00 +0000

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'}


Subscriptions

Roocode Roo-code
Roocodeinc Roo-code
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-28T17:45:48.917Z

Reserved: 2026-08-27T14:49:24.298Z

Link: CVE-2026-81835

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-08-28T00:18:21.593

Modified: 2026-08-28T20:20:13.370

Link: CVE-2026-81835

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T09:15:05Z

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')