CVE-2026-81835
Roo Code could treat malicious MCP server output as instructions
RooCodeInc · Roo Code
First documented disclosure · Review checkpoint
Summary
A researcher describes agent actions influenced by returned instructions from a malicious configured MCP server.
Severity and exploitation evidence
Medium · 5.1/10 · CVSS 4.0. Severity source.
Exploitation not established: Controlled researcher report only. No malicious deployment, affected victim or in-the-wild exploitation is established by these sources.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
Untrusted MCP response content is followed as instruction rather than confined to tool data.
Conditions required
Victim installs/configures malicious MCP server and agent retrieves its instructions.
Potential impact
Potential misuse of other agent tools or available data after malicious-server setup; the incremental privilege boundary was not independently demonstrated.
Affected versions and configurations
CNA enumerates 3.51.0–3.51.1; the researcher report identifies 3.51.1. No current-version extrapolation is made.
Fix and mitigation status
Unknown; no released issue-specific correction established by the reviewed originals or CNA.
Practical next steps
Install trusted MCP servers, constrain each server’s capability and require approval for consequential actions. No released correction was established.
Operating lesson
Installing a server and trusting its returned instructions are separate decisions.
Evidence and limits
The original gist is labeled Secret and Last active June 20 with two revisions; that is not evidence of its first public availability. The August CNA publication is the earliest verified public reference in this review and supplies the qualified disclosure/source date. The CNA quotes a maintainer response describing unsupported code; project lifecycle was not independently established. Do not imply unauthenticated remote exploitation of arbitrary installations. Local malicious-server installation itself grants capability; incremental boundary and default approvals were not independently verified. Severity is VulDB CNA CVSS 4.0, not an independent reassessment. AgentLens references this report as part of its research corpus; that does not make it a separate victim incident.
Related incident and research records
Related records can include laboratory demonstrations; a relationship does not itself establish exploitation.