CVE-2026-30307: Command Injection
Roo Code's command auto-approval module contains a critical OS command injection vulnerability that renders its whitelist security mechanism completely ineffective. The system relies on fragile regular expressions to parse command structures; while it attempts to intercept dangerous operations, it fails to account for standard Shell command substitution Roo Code (specifically$(...)and backticks ...). An attacker can construct a command such as git log --grep="$(maliciouscommand)", forcing Syntx to misidentify it as a safe git operation and automatically approve it. The underlying Shell prioritizes the execution of the malicious code injected within the arguments, resulting in Remote Code Execution without any user interaction.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-30307?
CVE-2026-30307 is classified as a critical vulnerability due to its potential for remote command execution.
How do I fix CVE-2026-30307?
To mitigate CVE-2026-30307, it is crucial to update the Roo Code command auto-approval module to the latest version that addresses this vulnerability.
What type of vulnerability is CVE-2026-30307?
CVE-2026-30307 is an OS command injection vulnerability that affects the command auto-approval module of Roo Code.
What systems are affected by CVE-2026-30307?
CVE-2026-30307 affects all versions of the Roo Code command auto-approval module prior to version 3.46.1.
What are the implications of CVE-2026-30307?
The implications of CVE-2026-30307 include the complete failure of the whitelist security mechanism, allowing unauthorised command execution.