Syntx'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 syntax (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.
History

Fri, 03 Apr 2026 10:15:00 +0000

Type Values Removed Values Added
Title Command Injection via Auto‑Approval in Syntx
First Time appeared Syntx
Syntx command Auto Approval Module
Vendors & Products Syntx
Syntx command Auto Approval Module

Thu, 02 Apr 2026 20:30:00 +0000

Type Values Removed Values Added
Title OS Command Injection via Weak Shell Parsing in Syntx Command Auto-Approval
Weaknesses CWE-78

Wed, 01 Apr 2026 23:45:00 +0000

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'}


Tue, 31 Mar 2026 03:00:00 +0000

Type Values Removed Values Added
Title OS Command Injection via Weak Shell Parsing in Syntx Command Auto-Approval
Weaknesses CWE-78

Mon, 30 Mar 2026 19:45:00 +0000

Type Values Removed Values Added
Description Syntx'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 syntax (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

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2026-03-30T00:00:00.000Z

Updated: 2026-04-01T17:54:58.551Z

Reserved: 2026-03-04T00:00:00.000Z

Link: CVE-2026-30305

cve-icon Vulnrichment

Updated: 2026-04-01T17:54:51.314Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-03-30T20:16:21.087

Modified: 2026-04-01T18:16:28.457

Link: CVE-2026-30305

cve-icon Redhat

No data.