CVE-2026-82537

Roo-Code 3.54.0 Auto-Approve Bypass via Shell Parser Word-Boundary Mismatch

Published Sep 8, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
Description
Roo-Code through 3.54.0 contains an auto-approve bypass vulnerability that allows attackers to execute denied shell commands by exploiting a word-boundary mismatch in comment handling between the approval gate's shell parser and bash. Attackers can craft a command string with an allowlisted word immediately followed by a hash character, separator, and denied command to pass the approval gate while bash executes the denied command with the agent's auto-execute privileges on the developer's machine.

Analysis

AI-generated

Technical impact

Roo-Code versions up to and including 3.54.0 allow an attacker to bypass the auto‑approve gate by exploiting a mismatch in word‑boundary detection between the shell parser used by the approval gate and the bash interpreter. Attackers can craft a comment in a pull request that contains an allowed word immediately followed by a hash character or separator and a denied command; the approval gate accepts the comment, while bash executes the denied command with the agent’s auto‑execute privileges on the developer’s machine. The result is the execution of arbitrary shell commands with elevated privileges on the code‑review environment, representing a complete compromise of the affected system. The weakness is classified as CWE‑436, a mismatch in input filtering leading to unintended code execution.

Affected Systems

The vulnerability affects RooCodeInc’s Roo‑Code product through version 3.54.0 inclusive. No later versions are identified as affected in the provided data.

Risk and Exploitability

The CVSS score of 7.7 indicates a high severity vulnerability. No EPSS value is available, so the exploitation probability is uncertain, and the issue is not presently listed in the CISA KEV catalog. The likely attack vector is the developer’s local environment during code review; an actor must inject the crafted comment into the repository, causing the auto‑approve process to trigger the malicious command. Given the elevated privileges granted to the agent, the exploit can lead to full system compromise. The lack of a widely distributed exploit and the dependence on a code‑review workflow reduce the immediacy of risk, but the high severity and local privilege escalation still demand prompt attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a Roo‑Code release that includes the fixed shell‑parser logic (i.e., a version newer than 3.54.0).
  • Disable or reconfigure the auto‑approve feature so that any comment containing a hash or separator following an allowlisted word requires explicit manual approval, or remove the auto‑execute privileges from developer agents.
  • Monitor and audit pull‑request comments for patterns matching an allowlisted word followed by a hash (‘#’) or comma and a command, and verify that no unexpected commands are executed during code review.

Generated by OpenCVE AI on September 9, 2026 at 14:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Roocode roo Code
CPEs cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:*
Vendors & Products Roocode roo Code
Type Values Removed Values Added
First Time appeared Roocode
Roocode roo-code
Vendors & Products Roocode
Roocode roo-code
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Roo-Code through 3.54.0 contains an auto-approve bypass vulnerability that allows attackers to execute denied shell commands by exploiting a word-boundary mismatch in comment handling between the approval gate's shell parser and bash. Attackers can craft a command string with an allowlisted word immediately followed by a hash character, separator, and denied command to pass the approval gate while bash executes the denied command with the agent's auto-execute privileges on the developer's machine.
Title Roo-Code 3.54.0 Auto-Approve Bypass via Shell Parser Word-Boundary Mismatch
Weaknesses CWE-436
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.7, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 1, 2026, 3:21 PM
Reserved
Aug 29, 2026, 5:20 PM
Status
Deferred
Published
Sep 8, 2026, 7:20 PM
Modified
Sep 11, 2026, 9:17 PM