Description
gemini-mcp-tool execAsync Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of gemini-mcp-tool. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the implementation of the execAsync method. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-27783.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Gemini MCP Tool | gemini-mcp-tool | 1.1.2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | gemini-mcp-tool | >= 1.1.2, < 1.1.6 | 1.1.6 | GHSA-4h5r-5jm8-jxjm |