CVE-2026-30311
Received Received - Intake

OS Command Injection in Ridvay Code Auto-Approval Module Enables RCE

Vulnerability report for CVE-2026-30311, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-03-31

Last updated on: 2026-04-03

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-03-31
Last Modified
2026-04-03
Generated
2026-07-06
AI Q&A
2026-03-31
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
ridvay auto-approval_module to 0.1.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Impact Analysis

This vulnerability can have severe impacts because it allows an attacker to execute arbitrary commands remotely on the affected system without any user interaction. This Remote Code Execution can lead to unauthorized access, data theft, system compromise, or further attacks within the network. Since the whitelist mechanism is bypassed, the system's intended security controls are ineffective, increasing the risk of exploitation.

Executive Summary

This vulnerability exists in Ridvay Code's command auto-approval module, which is designed to automatically approve certain commands based on a whitelist mechanism. However, the module uses fragile regular expressions to parse command structures and fails to properly handle Shell command substitution techniques such as $(...) and backticks. An attacker can exploit this by crafting a command like git log --grep="$(malicious_command)", which the system mistakenly identifies as a safe git operation and automatically approves. As a result, the malicious code inside the command substitution is executed by the underlying Shell, leading to Remote Code Execution without any user interaction.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-30311. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart