Skip to main content

Roo-Code EUVDEUVD-2026-67228

| CVE-2026-81833 LOW
Code Injection (CWE-94)
2026-08-27 VulDB GHSA-88j7-xhq4-rhh3
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 obtains low-privilege access to Roo-Code
  2. Delivery
    Crafts malicious query input targeting optimizeQuery
  3. Exploit
    Victim user passively triggers CodeIndexManager (e.g., opens project or indexes code)
  4. Execution
    Injected code executes within application context
  5. Impact
    Attacker achieves partial confidentiality, integrity, or availability impact

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 a low level of privileges (PR:L per CVSS 4.0), meaning the attacker must have some authenticated or credentialed access to the Roo-Code environment rather than being fully unauthenticated. Passive user interaction (UI:P) is also required, suggesting a victim user must perform a routine action - such as opening a file, triggering indexing, or initiating a query - to activate the vulnerable optimizeQuery code path in the CodeIndexManager component. The vulnerability is limited to products still running Roo-Code version 3.51.1 or earlier; environments that have already discontinued use of this archived tool are not affected. The fact that no attack requirements (AT:N) are specified means no unusual system state or race condition is needed beyond the above prerequisites.

Impact

Despite the RCE tag, the official CVSS 4.0 score is 2.0, reflecting low-level impacts (VC:L/VI:L/VA:L) and exploitation constraints (PR:L/UI:P). The low CIA impact scores suggest the injection may be constrained in scope rather than achieving full system compromise. Key risk signals: a public POC exists (E:P in the CVSS 4.0 threat metric), raising the likelihood of opportunistic use; the product is NOT in CISA KEV, indicating no confirmed widespread active exploitation. No EPSS score was provided in the input data, so exploitation probability cannot be quantified from that signal. The most significant risk amplifier is the permanent no-patch status - the vendor has archived the project and explicitly disclaimed responsibility. Any organization still running Roo-Code faces a vulnerability with no remediation path from the vendor. The low deployment footprint of an archived niche tool materially limits aggregate exposure.

Exploit ScenarioDerived

A low-privileged remote attacker with access to the Roo-Code interface crafts a malicious input designed to manipulate the optimizeQuery function in CodeIndexManager, injecting executable code into the query-processing pipeline. With a public POC already available on GitHub, an attacker can adapt the demonstrated technique with minimal effort. Passive user interaction is required - for example, a developer opening or indexing a malicious project could trigger the vulnerable code path.

Monitor Track and reassess. Why: Vendor states no customer action required.
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 27, 2026

Code injection in RooCodeInc Roo-Code up to version 3.51.1 allows a remote, low-privileged attacker with passive user interaction to inject and execute arbitrary code via the optimizeQuery function in the CodeIndexManager component (src/utils/helpers.ts). A public proof-of-concept exploit exists on GitHub. Critically, the vendor has explicitly archived the repository and will not issue a patch, leaving all users of this product permanently unpatched.

RemediationAI

No vendor-released patch is available, and none will be issued - the vendor has archived the repository and explicitly discouraged continued use. The primary remediation is to discontinue use of Roo-Code entirely and migrate to an actively maintained alternative. As a compensating control, restrict network access to environments running Roo-Code to prevent remote exploitation (the attack vector is AV:N); note this does not eliminate risk but raises the bar for remote attackers. Additionally, enforce least-privilege on accounts that interact with the tool, given that PR:L is required. Organizations unable to migrate immediately should audit whether the CodeIndexManager/code-indexing feature can be disabled, which would remove the vulnerable optimizeQuery code path; disabling this feature may reduce code intelligence functionality. The public POC at https://gist.github.com/tchen200311/d77f66ef70c88f7c55c84a3aaeecc100 should be reviewed by defenders to understand the specific injection trigger.

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 (CPE: cpe:2.3:a:roocodeinc:roo-code:*:*:*:*:*:*:*:*) is an AI-assisted coding tool whose CodeIndexManager component processes code queries through a function called optimizeQuery in src/utils/helpers.ts. The root cause is CWE-94 (Improper Control of Generation of Code, i.e., code injection): user-supplied or externally-influenced input is incorporated into a code or query path without adequate sanitization or neutralization, allowing an attacker to alter the intended execution flow. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) indicates the attack is network-reachable, requires no special attack conditions, but does require low-level privileges and passive user interaction, consistent with an IDE extension or similar developer-tooling context.

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, low complexity, low privileges required, user interaction required; unchanged scope and low CIA impacts per CVSS 4.0 base metrics.

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 27, 2026 - 20:37 NVD
MEDIUM LOW
CVSS changed
Aug 27, 2026 - 20:37 NVD
5.1 (MEDIUM) 2.0 (LOW)
CVE Published
Aug 27, 2026 - 19:45 cve.org
LOW 2.0

DescriptionCVE.org

A security flaw has been discovered in RooCodeInc Roo-Code up to 3.51.1. Affected by this vulnerability is the function optimizeQuery of the file src/utils/helpers.ts of the component CodeIndexManager. Performing a manipulation results in code injection. Remote exploitation of the attack is possible. The exploit has been released to the public and may be used for attacks. 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
Rare
archived niche AI coding tool, minimal active production footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL 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
Vendor states no customer action required
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