High

gemini-mcp-tool argument injection allows Gemini CLI auto-approve mode

An attacker who controls MCP tool arguments can inject Gemini CLI options like --yolo through the model parameter, turning on auto-approve mode. This lets them run commands on your machine and modify files through ask-gemini or brainstorm calls.

Product
gemini-mcp-tool
Systems
macOSWindowsLinux
CVSS
7.5
Weakness
CWE-88
Source
Get the fix in Telegram

Affected software and versions

PackageEcosystemAffectedFixed in
gemini-mcp-toolother<=1.1.8not verified

A fixed version is shown only when it is verified against a vendor or advisory source.

Who should check

Anyone running gemini-mcp-tool version 1.1.8 or older on macOS, Windows or Linux.

Expected outcome after remediation

The agent reports whether gemini-mcp-tool was installed, at which version, and confirms it has been removed from the MCP configuration and uninstalled.

Get the fix

FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 5625 and your operating system.