Description
gemini-mcp-tool through 1.1.8 contains an argument injection vulnerability in executeGeminiCLI() that allows attackers controlling MCP tool arguments to inject Gemini CLI options via the model parameter. Attackers can prompt-inject the calling LLM agent to pass values like --yolo to ask-gemini or brainstorm, enabling auto-approve mode for host command execution and file modification.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Gemini MCP Tool | gemini-mcp-tool | 0 ≤1.1.8 | — |