CyberRota Analysis
AI-GeneratedRoo-Code versions up to 3.54.0 are vulnerable due to a flaw in the shell command parsing logic, which allows attackers to bypass auto-approval mechanisms and execute unauthorized shell commands. By exploiting the omission of the bash pipe operator, an attacker can craft a command that appears valid but ultimately executes denied commands with elevated privileges on the developer's machine. Organizations using Roo-Code should prioritize addressing this vulnerability to mitigate the risk of unauthorized command execution and potential system compromise.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Roo-Code through 3.54.0 contains an auto-approve bypass vulnerability in the shell command parsing logic that allows attackers to execute denied shell commands by exploiting the omission of the bash pipe operator from the command parser's operator token set. Attackers can craft a command line with an allowlisted prefix followed by the stderr-redirecting pipe operator and a denied command, causing the parser to approve the full pipeline while bash executes the denied component with the agent's auto-execute privileges on the developer's machine.