CVE-2026-142216

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.
Configurations

No configuration.

History

02 Dec 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-12-02 17:17

Updated : 2026-12-02 23:18


NVD link : CVE-2026-142216

Mitre link : CVE-2026-142216

CVE.ORG link : CVE-2026-142216


JSON object : View

Products Affected

No product.

CWE
CWE-88

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')