Roo-Code 3.54.0 Auto-Approve Bypass via Shell Parser Word-Boundary Mismatch
41Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 7.7epss 0.3%
exploitation probability
0.3%top 79% of all CVEs
observed exploitation
nono source reports it
1 public exploit(s)
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.
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
Affected products
RooCodeInc · Roo-Codepublic PoCs found — 1
cve_referencegithub.com/7rah/oss-cve/blob/main/roocode-group06-comment-boundary.mdunverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.