CVE-2026-30307

Published Mar 30, 2026 CVSS 3.1 · 9.8 Critical EPSS 1.2% KEV · Not listed
Description
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="$(malicious_command)", 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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title OS Command Injection in Roo Code Command Auto‑Approval Module
Type Values Removed Values Added
Title OS Command Injection in Roo Code Command Auto‑Approval Module
Type Values Removed Values Added
Title Command Injection Exploitation in Roo Code Command Auto‑Approval Module
Type Values Removed Values Added
First Time appeared Roocode roo Code
CPEs cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:*
Vendors & Products Roocode roo Code
Type Values Removed Values Added
Title Command Injection Exploitation in Roo Code Command Auto‑Approval Module
First Time appeared Roocode
Roocode command Auto Approval Module
Vendors & Products Roocode
Roocode command Auto Approval Module
Type Values Removed Values Added
Title OS Command Injection in Roo Code Command Auto-Approval Module
Weaknesses CWE-78
Type Values Removed Values Added
Weaknesses CWE-94
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title OS Command Injection in Roo Code Command Auto-Approval Module
Weaknesses CWE-78
Type Values Removed Values Added
Description 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="$(malicious_command)", 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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Apr 1, 2026, 5:52 PM
Reserved
Mar 4, 2026, 12:00 AM
Status
Analyzed
Published
Mar 30, 2026, 8:16 PM
Modified
Jun 17, 2026, 10:32 AM