---
id: CVE-2026-82537
title: >-
  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
summary: >-
  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. At…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-436
vendor: RooCodeInc
product: Roo-Code
affected:
  - Roo-Code <= 3.54.0
published: '2026-09-08'
updated: '2026-09-11'
sourceUpdated: '2026-09-11T21:17:24.980'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-82537'
references:
  - url: >-
      https://github.com/7rah/oss-cve/blob/main/roocode-group06-comment-boundary.md
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/roo-code-auto-approve-bypass-via-shell-parser-word-boundary-mismatch
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-11T20:55:24.079034Z'
epss: 0.00469
epssPercentile: 0.37986
ingestedAt: '2026-09-08T19:08:49.638Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
