PT-2026-29100 · Robocode · Robocode
Secsys-Fdu
·
Published
2026-03-30
·
Updated
2026-03-30
·
CVE-2026-30307
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Roo Code (affected versions not specified)
Description
The command auto-approval module in Roo Code has a critical operating system command injection flaw that bypasses its whitelist security. The system uses weak regular expressions to analyze commands and fails to account for Shell command substitution using
$(...) and backticks. An attacker can inject malicious code into commands, such as git log --grep="$(malicious command)", which the system incorrectly identifies as safe, leading to automatic approval and Remote Code Execution without user interaction. The underlying Shell prioritizes the execution of the injected malicious code within the arguments.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Robocode