CVE-2026-82537 PUBLISHED

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

Assigner: VulnCheck
Reserved: 29.08.2026 Published: 08.09.2026 Updated: 08.09.2026

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.

Metrics

CVSS 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
CVSS Score: 7.7

Product Status

Vendor RooCodeInc
Product Roo-Code
Versions Default: unaffected
  • affected from 0 to 3.54.0 (incl.)

Credits

  • Minqiang Gui finder

References

Problem Types

  • Interpretation Conflict CWE