CVE-2026-30311
JSON

9.8critical

Ridvay Code's command auto-approval module contains a critical OS command injection vulnerability that renders its whitelist security mecha…

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
1.94% (higher than 80% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

Ridvay 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 Ridvay 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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
ridvay auto-approval_moduleup to 0.1.1NVD

Classification

CWE-78

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

Ridvay 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 Ridvay 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.

NVD (es)

El módulo de autoaprobación de comandos de Ridvay Code contiene una crítica vulnerabilidad de inyección de comandos del sistema operativo que hace que su mecanismo de seguridad de lista blanca sea completamente ineficaz. El sistema se basa en expresiones regulares frágiles para analizar las estructuras de comandos; aunque intenta interceptar operaciones peligrosas, no tiene en cuenta la sustitución de comandos estándar de Shell (específicamente $(...) y las comillas invertidas ...). Un atacante puede construir un comando como git log --grep='$(malicious_command)', forzando a Syntx a identificarlo erróneamente como una operación git segura y aprobarlo automáticamente. El Shell subyacente prioriza la ejecución del código malicioso inyectado dentro de los argumentos, lo que resulta en ejecución remota de código sin ninguna interacción del usuario.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-30311 changed 2026-04-01CVE Terms of Use
NVDCVE-2026-30311 changed 2026-07-25Public domain