CVE-2026-30307: Command Injection

Published Mar 30, 2026
·
Updated

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

2 affected components
Roo Code Roo Code command auto-approval module
RooCode Roo Code<=3.46.1

Event History

Mar 30, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203