Skip to main content

Roo-Code CVE-2026-81835

| EUVDEUVD-2026-67313 LOW
Code Injection (CWE-94)
2026-08-27 VulDB GHSA-q2jq-8pm2-fj8h
2.0
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker deploys malicious MCP server
  2. Delivery
    Lure or redirect Roo-Code user to connect
  3. Exploit
    User initiates MCP session triggering fetch_instructions
  4. Execution
    Injected payload delivered in server response
  5. Persist
    Code executes within Roo-Code process
  6. Impact
    Confidentiality, integrity, and availability of local session impacted

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that Roo-Code's MCP integration is active and that the targeted user connects the extension to an attacker-controlled MCP server endpoint - either through direct configuration, a malicious project file specifying a server URI, or social engineering. The CVSS PR:L metric confirms some level of authenticated or at-minimum application-level access is required (the user must be operating Roo-Code with MCP enabled). The UI:P metric confirms user interaction is necessary - specifically, the user must initiate or accept a connection to the malicious server, making fully passive exploitation not feasible. Exploitation is limited to users still actively running Roo-Code version 3.51.1 or earlier; no special OS privilege, elevated account, or non-default system configuration beyond having the extension installed and MCP enabled is required on the client side. The attacker must control or compromise a reachable MCP server.

Impact

The CVSS 4.0 base score of 5.1 (Medium) reflects the realistic constraint profile: AV:N indicates network reachability, but PR:L (low privileges) and UI:P (user interaction required) significantly reduce exploitability compared to a fully unauthenticated, zero-click flaw. The E:P (proof-of-concept) supplemental metric confirms exploit code is publicly available, elevating practical risk above a theoretical vulnerability. Impact metrics VC:L/VI:L/VA:L with no subsequent-system scope change (SC:N/SI:N/SA:N) indicate contained, limited damage per successful exploitation rather than critical system compromise. The most material risk amplifier is the permanent absence of any patch: the vendor has archived the repository and explicitly refuses to remediate, making every deployed instance indefinitely vulnerable. Prevalence is assessed as low - Roo-Code is a niche, now-abandoned AI coding extension - which limits aggregate exposure. No CISA KEV listing is present, suggesting exploitation has not been confirmed at scale as of analysis time. The combination of low footprint, low-to-moderate CVSS, and limited impact metrics means this is a low-to-medium organizational priority, elevated primarily for teams actively running Roo-Code in production.

Exploit ScenarioDerived

An attacker hosts a malicious MCP server and induces a Roo-Code user - through phishing, a compromised MCP server registry entry, or a crafted project configuration - to connect the extension to that server. When the fetch_instructions function retrieves instructions from the attacker-controlled endpoint, the injected payload executes within the Roo-Code process context, granting the attacker code execution with the privileges of the developer running the extension. A proof-of-concept demonstrating this technique is publicly available on GitHub.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 28, 2026

Code injection in RooCodeInc Roo-Code up to version 3.51.1 allows a remote low-privileged attacker to execute injected code via the fetch_instructions function within the MCP (Model Context Protocol) Integration Trust Model component (malicious_mcp_server.py). A publicly available proof-of-concept exploit exists on GitHub. Critically, the vendor has explicitly confirmed the product is no longer maintained - the repository is archived - meaning no patch will ever be released, permanently leaving all deployed instances vulnerable.

RemediationAI

No vendor-released patch is available and none is forthcoming - the vendor has confirmed the product is abandoned and the repository is archived. The primary remediation is to cease use of Roo-Code and migrate to an actively maintained AI coding assistant alternative. For organizations that cannot immediately migrate, the most actionable compensating control is to disable or remove MCP server integrations entirely within Roo-Code, specifically preventing the extension from connecting to any external MCP server endpoints, which eliminates the attack surface in fetch_instructions. Additionally, restricting Roo-Code's network access via host-based firewall rules to block outbound connections to untrusted MCP server addresses reduces exposure, at the trade-off of breaking legitimate MCP-dependent workflows. Given the permanent lack of vendor support, running Roo-Code in an isolated environment (e.g., a sandboxed VM or container with no access to sensitive credentials or source trees) is a viable interim measure that limits blast radius if exploitation occurs.

Affected VersionsENISA

Roo-Code 3.51.1
Roo-Code 3.51.0

Affected Packages

euvd roo_code no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Roo-Code is an AI coding assistant extension that integrates with external tooling via the Model Context Protocol (MCP), an emerging standard for connecting AI agents to external servers and data sources. The vulnerable component is the MCP Integration Trust Model, specifically the fetch_instructions function in malicious_mcp_server.py, which insufficiently validates or sanitizes instructions fetched from connected MCP servers. CWE-94 (Improper Control of Generation of Code) describes the root cause: attacker-controlled input from a malicious MCP server endpoint is passed into a code-generation or execution pathway without adequate neutralization, resulting in code injection. The CPE cpe:2.3:a:roocodeinc:roo-code:*:*:*:*:*:*:*:* covers all versions up to and including 3.51.1 with no upper bound, as development has permanently ceased.

Know when Roo Code gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.0 MEDIUM
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
vuln.today AI 5.5 MEDIUM

Network-reachable via MCP endpoint (AV:N), but exploitation requires user-initiated connection (UI:R) and low-privilege application access (PR:L); impact is limited and unscoped (S:U, C:L/I:L/A:L).

3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Aug 28, 2026 - 00:22 NVD
MEDIUM LOW
CVSS changed
Aug 28, 2026 - 00:22 NVD
5.1 (MEDIUM) 2.0 (LOW)
CVE Published
Aug 27, 2026 - 20:45 cve.org
MEDIUM 5.1

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
archived niche AI coding extension, minimal enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2026-63108 HIGH POC
7.7 Jul 20

Arbitrary command execution in Roo Code (the open-source AI coding agent) through version 3.54.0 lets attackers slip pas

CVE-2025-58371 CRITICAL
9.9 Sep 05

Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Rated critical severity (CVSS 9.9), this

CVE-2025-53536 HIGH
8.1 Jul 07

Roo Code is an AI-powered autonomous coding agent. Prior to 3.22.6, if the victim had "Write" auto-approved, an attacker

CVE-2025-53098 HIGH
8.1 Jun 27

Roo Code is an AI-powered autonomous coding agent. The project-specific MCP configuration for the Roo Code agent is stor

CVE-2026-110204 HIGH
7.7 Oct 13

Command approval bypass in Roo Code through 3.54.0 allows unauthenticated remote attackers to execute shell commands tha

CVE-2026-110206 HIGH
7.7 Oct 13

Command-approval bypass in Roo Code through 3.54.0 lets attacker-influenced input cause the agent to execute arbitrary s

CVE-2026-110205 HIGH
7.7 Oct 13

Auto-approval command filtering in Roo Code through 3.54.0 can be bypassed, letting an attacker run commands that should

CVE-2026-110203 HIGH
7.7 Oct 13

Command approval bypass in Roo Code through 3.54.0 lets an attacker get denied shell commands auto-approved and executed

CVE-2026-110202 HIGH
7.7 Oct 13

Roo Code through 3.54.0 can execute shell commands that its command auto-approval allowlist is meant to deny, because ge

CVE-2026-81836 LOW POC
2.9 Aug 27

Cleartext transmission of OAuth credentials in RooCodeInc Roo-Code up to version 3.51.1 exposes sensitive OAuth tokens t

CVE-2026-81837 LOW POC
2.1 Aug 27

Path traversal in RooCodeInc Roo-Code through version 3.51.1 allows remote unauthenticated attackers to read and write f

CVE-2026-81834 LOW POC
2.1 Aug 27

Code injection in RooCodeInc Roo-Code through version 3.51.1 allows remote attackers to execute arbitrary code via the E

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy