CVE-2026-81833

Roo Code retrieved comments could carry instructions into agent actions

RooCodeInc · Roo Code

First documented disclosure · Review checkpoint

Summary

A researcher describes malicious code comments entering the agent context through indexed code search.

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.

Exploitation evidence source

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

Lower-trust retrieved source snippets contain instructions requesting command execution or data transfer.

Conditions required

Poisoned repository code comment is indexed and retrieved by a relevant code search; tool execution remains an additional boundary.

Potential impact

Possible agent-directed commands or disclosure under granted tool permissions; successful default approval bypass and actual stolen secrets were not independently established.

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

Review retrieved instructions, retain tool confirmations and run the agent with restricted file and network authority. No released correction was established.

Operating lesson

Code-search results are evidence about a repository, not authority to issue tool instructions.

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. No approval settings or full runtime log independently established. Avoid zero-click/default-approval-bypass certainty; actual secrets stolen 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 records can include laboratory demonstrations; a relationship does not itself establish exploitation.

Sources