CVE-2026-142216

gemini-mcp-tool could turn a model argument into a CLI option

jamubc · gemini-mcp-tool

First documented disclosure · Review checkpoint

Summary

Attacker-influenced tool arguments could enable Gemini CLI automatic approval.

Severity and exploitation evidence

High · 7.7/10 · CVSS 4.0. Severity source.

Exploitation not established: The reviewed originals establish a reported weakness or controlled demonstration; malicious exploitation and victim compromise are not established. No product, model or proof of concept was executed for this review.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

executeGeminiCLI accepts the model value as a command-line argument without preventing option interpretation.

Conditions required

An attacker controls MCP arguments, directly or by steering the calling agent; the affected ask-gemini or brainstorm tool is used.

Potential impact

The resulting CLI mode may permit host commands and file changes without the intended approval.

Affected versions and configurations

gemini-mcp-tool: 0 through 1.1.8

Fix and mitigation status

No fixed package version is established in the reviewed originals.

Practical next steps

Constrain model arguments to trusted identifiers and require an independent approval boundary before using this integration with untrusted content.

Operating lesson

Data passed to a child process must not become permission-changing options.

Evidence and limits

CVE publication: 2026-12-02. The disclosure date uses the earliest explanatory public source verified in this review; database ingestion is separate. CVSS 4.0 7.7 is the VulnCheck CNA assessment.

Sources