Gemini MCP Tool gemini-mcp-tool
gemini-mcp-tool execAsync Command Injection Remote Code Execution Vulnerability
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 versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- 1.1.2
- >= 1.1.2, < 1.1.6
Fixed in 1.1.6
from GitHub Security Advisory GHSA-4h5r-5jm8-jxjm
Mitigation
Upgrade gemini-mcp-tool to 1.1.6 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.