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.
Metrics
Affected Vendors & Products
References
History
Tue, 07 Apr 2026 08:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Command Injection Exploitation in Roo Code Command Auto‑Approval Module |
Mon, 06 Apr 2026 16:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Roocode roo Code
|
|
| CPEs | cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Roocode roo Code
|
Fri, 03 Apr 2026 10:15:00 +0000
| 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 |
Thu, 02 Apr 2026 20:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | OS Command Injection in Roo Code Command Auto-Approval Module | |
| Weaknesses | CWE-78 |
Wed, 01 Apr 2026 23:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-94 | |
| Metrics |
cvssV3_1
|
Tue, 31 Mar 2026 03:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | OS Command Injection in Roo Code Command Auto-Approval Module | |
| Weaknesses | CWE-78 |
Mon, 30 Mar 2026 19:30:00 +0000
| 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 |
|
Status: PUBLISHED
Assigner: mitre
Published: 2026-03-30T00:00:00.000Z
Updated: 2026-04-01T17:52:54.351Z
Reserved: 2026-03-04T00:00:00.000Z
Link: CVE-2026-30307
Updated: 2026-04-01T17:51:39.911Z
Status : Analyzed
Published: 2026-03-30T20:16:21.220
Modified: 2026-04-06T15:57:26.460
Link: CVE-2026-30307
No data.