CVE-2026-82536 Details
Description
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.
An auto-approve bypass vulnerability has been identified in Roo-Code versions through 3.54.0. This vulnerability arises in the shell command parsing logic, where the omission of the bash pipe operator '|&' from the command parser's operator token set allows attackers to execute denied shell commands. By crafting a command line that includes an allowlisted prefix followed by the stderr-redirecting pipe operator and a denied command, attackers can exploit this oversight. The parser inadvertently approves the entire command pipeline, while bash executes the denied component with the agent's auto-execute privileges on the developer's machine.
To address this vulnerability, add '|&' to the operator split list in 'src/shared/parse-command.ts' so that the pipeline is correctly divided into individual commands, each subject to the approval process. Alternatively, a more robust solution would be to derive the set of command separators from bash's grammar, ensuring that any newly introduced operator is properly handled without risking an unapproved command execution.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 8, 2026CISA-ADP
Assessed Sep 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/7rah/oss-cve/blob/main/roocode-group04-pipe-both-operator.md | [email protected] | ExploitTechnical Analysis |
| https://www.vulncheck.com/advisories/roo-code-auto-approve-bypass-via-shell-command-pipe-operator | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-184 | Incomplete List of Disallowed Inputs | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Roo-Code | <= 3.54.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 19, 2026 | CVE Modified | CISA-ADP |
| Sep 8, 2026 | New CVE Received | [email protected] |
Volerion