CVE-2026-82537
8.8RooCodeInc · Roo-Code
Roo-Code contains an auto-approve bypass vulnerability due to a shell parser word-boundary mismatch, allowing attackers to execute denied shell commands.
Executive summary
A critical vulnerability in Roo-Code allows unauthenticated attackers to bypass security approval gates and execute arbitrary shell commands on developer machines.
Vulnerability
The vulnerability arises from an interpretation conflict (CWE-436) between the shell-quote parser used by the approval gate and the bash shell. An attacker can craft a command string with an allowlisted word followed by a hash character and a denied command, causing the parser to ignore the denied command as a comment while bash executes it with the agent's privileges.
Business impact
The ability to execute arbitrary commands on a developer's workstation poses a severe risk to the entire software development lifecycle. Successful exploitation could lead to full system compromise, exfiltration of sensitive source code, theft of credentials, or the injection of malicious code into production repositories. Given the CVSS score of 8.8, this flaw represents a high-severity risk that could facilitate supply chain attacks.
Remediation
Immediate Action: Since a specific patch is not currently available, users should immediately disable the "always approve execute" feature in the Roo-Code configuration to force manual review of all commands.
Proactive Monitoring: Security teams should review logs for unusual shell command execution patterns or unauthorized files created in temporary directories, such as /tmp/.
Compensating Controls: As a temporary measure, ensure that the Roo-Code environment is isolated from sensitive network segments and that developers operate with the principle of least privilege to minimize the potential impact of command execution.
Exploitation status
Public Exploit Available: Yes, a published PoC exists (attributed to the technical write-up by the vulnerability researcher).
Analyst recommendation
Due to the severity of this bypass, organizations must treat this vulnerability with high urgency. Because the flaw fundamentally undermines the security control mechanism of the application, disabling automated execution is the only reliable method to prevent exploitation until the vendor releases a secure version. Prioritize the transition to manual approval workflows to maintain environment integrity.
More RooCodeInc CVEs
History
- Disclosed CVE record published
- Collected by CVE Brief via github
- Analyst report written
- Published in the daily brief high section
Sources
Originally found and disclosed by Minqiang Gui, per the CVE Program record.
- Researcher Disclosure Exploit / PoC
- Third-party advisory