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.
Published: 2026-09-08
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Fri, 11 Sep 2026 23:45:00 +0000

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'}


Tue, 08 Sep 2026 18:30:00 +0000

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'}


Subscriptions

Roocode Roo-code
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-11T20:55:35.309Z

Reserved: 2026-08-29T17:20:57.083Z

Link: CVE-2026-82537

cve-icon Vulnrichment

Updated: 2026-09-11T20:55:30.480Z

cve-icon NVD

Status : Deferred

Published: 2026-09-08T19:20:00.910

Modified: 2026-09-11T21:17:24.980

Link: CVE-2026-82537

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-11T20:30:02Z

Weaknesses