Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted README via repository or file share
-
DeliveryVictim opens repository in Roo-Code
-
ExploitREADME File Handler invokes ExecaTerminalProcess
-
ExecutionInjected code executes in terminal context
-
ImpactAttacker achieves arbitrary code execution
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 victim to have Roo-Code version 3.51.1 or earlier installed and to open or process a crafted README file within the extension's context - this is the passive user interaction (UI:P) reflected in the CVSS 4.0 vector. The attacker requires no authentication or system privileges (PR:N). Exploitation is bounded to developer environments where the archived extension remains installed; the shrinking installed base and passive interaction requirement are the primary limiting factors. No special non-default configuration is described as required - any active Roo-Code installation processing untrusted README files is potentially in scope. |
| Impact | The CVSS 4.0 base score of 2.1 is strikingly low for a code injection finding tagged RCE, driven primarily by impact ratings of Low across confidentiality, integrity, and availability combined with a required passive user interaction. A publicly available proof-of-concept on GitHub nominally lowers the exploitation bar, but no CISA KEV listing exists and no confirmed in-the-wild exploitation has been reported. The low impact ceiling deserves independent scrutiny - code injection primitives in terminal execution contexts frequently carry higher real-world impact than formal scoring reflects, and the Low C/I/A ratings have not been independently corroborated. The dominant risk driver is not the CVSS score but the vendor's permanent refusal to patch: RooCodeInc has explicitly archived the repository, meaning installed instances will never receive a fix. Organizations still running Roo-Code are indefinitely exposed, and the existence of a public PoC means the barrier to exploitation is low for any attacker targeting developers in environments where the extension remains installed. |
| Exploit ScenarioDerived | An attacker crafts a repository containing a malicious README file with injected code payloads targeting the ExecaTerminalProcess function, then delivers it to a developer using Roo-Code - for example, via a shared or cloned repository. When the victim's Roo-Code instance processes the README, the injected payload executes in the terminal context without requiring any elevated attacker privileges. A public proof-of-concept is available at the referenced GitHub gist, further lowering the barrier for exploitation against developers who have not uninstalled the extension. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 27, 2026
Code injection in RooCodeInc Roo-Code through version 3.51.1 allows remote attackers to execute arbitrary code via the ExecaTerminalProcess function in the README File Handler, triggered by passive user interaction with a crafted README file. The vendor has explicitly archived the repository and confirmed no patch will be issued, leaving all installed instances permanently unpatched. A public proof-of-concept exploit is available on GitHub; however, no active exploitation has been confirmed by CISA KEV, and the CVSS 4.0 score of 2.1 reflects limited impact ratings across all three CIA pillars.
RemediationAI
No vendor-released patch is available and none will be issued; the vendor has explicitly archived the Roo-Code repository and confirmed end of support. The primary and strongly recommended remediation is to uninstall Roo-Code immediately, as no upgrade path to a patched version exists. For organizations that cannot remove the extension immediately, compensating controls include restricting which file sources Roo-Code is permitted to process, avoiding opening untrusted or externally sourced repositories within the extension's operational context, and disabling any configurable terminal execution features - though this may impair core extension functionality. Monitoring for anomalous process spawning from the Roo-Code extension process provides a detection-oriented complement to these measures. Advisory and PoC details are available at https://vuldb.com/cve/CVE-2026-81834 and https://gist.github.com/tchen200311/b3023b6f0352a406c21ba172c33393ef.
Affected VersionsENISA
Affected Packages
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-assisted coding extension; the vulnerable component is the ExecaTerminalProcess function within its README File Handler subsystem. CWE-94 (Improper Control of Generation of Code - Code Injection) identifies the root cause as insufficient sanitization of README file content before it is passed to terminal execution logic. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P) indicates the flaw is network-reachable with low complexity, requires no attacker privileges, and is triggered by passive user interaction such as opening a repository containing a crafted README. CPE cpe:2.3:a:roocodeinc:roo-code:*:*:*:*:*:*:*:* encompasses all versions through 3.51.1 with no lower bound specified, implying all prior releases are likely vulnerable.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-delivered via crafted README, no attacker privileges required, passive user interaction needed to trigger processing; impact capped at Low per vendor-supplied scoring.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A weakness has been identified in RooCodeInc Roo-Code up to 3.51.1. Affected by this issue is the function ExecaTerminalProcess of the component README File Handler. Executing a manipulation can lead to code injection. The attack can be executed remotely. The exploit has been made available to the public and could 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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
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.
Arbitrary command execution in Roo Code (the open-source AI coding agent) through version 3.54.0 lets attackers slip pas
Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Rated critical severity (CVSS 9.9), this
Roo Code is an AI-powered autonomous coding agent. Prior to 3.22.6, if the victim had "Write" auto-approved, an attacker
Roo Code is an AI-powered autonomous coding agent. The project-specific MCP configuration for the Roo Code agent is stor
Command approval bypass in Roo Code through 3.54.0 allows unauthenticated remote attackers to execute shell commands tha
Command-approval bypass in Roo Code through 3.54.0 lets attacker-influenced input cause the agent to execute arbitrary s
Auto-approval command filtering in Roo Code through 3.54.0 can be bypassed, letting an attacker run commands that should
Command approval bypass in Roo Code through 3.54.0 lets an attacker get denied shell commands auto-approved and executed
Roo Code through 3.54.0 can execute shell commands that its command auto-approval allowlist is meant to deny, because ge
Cleartext transmission of OAuth credentials in RooCodeInc Roo-Code up to version 3.51.1 exposes sensitive OAuth tokens t
Path traversal in RooCodeInc Roo-Code through version 3.51.1 allows remote unauthenticated attackers to read and write f
Code injection in RooCodeInc Roo-Code up to version 3.51.1 allows a remote low-privileged attacker to execute injected c
EUVD-2026-67231
GHSA-3j8c-p2mq-9c5h
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB