# CVE-2026-142216: gemini-mcp-tool through 1.1.8 Argument Injection via model Parameter

Source: https://aplosec.si/cve/CVE-2026-142216/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-142216

High 7.7 · Reported · No fix listed · CWE-88 · npm

# gemini-mcp-tool through 1.1.8 Argument Injection via model Parameter

CVE-2026-142216 · published 2026-12-02

In plain words: this type of bug lets someone run their own commands on the server (command injection). No fixed release is listed yet.

## Summary

CVE-2026-142216 affects gemini-mcp-tool (npm) <= 1.1.8: Argument Injection via model Parameter (CWE-88). No fixed release is listed. CVSS 4.0 base score 7.7 (High), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/gemini-mcp-tool-through-1.1.8-argument-injection-via-model-parameter](https://www.vulncheck.com/advisories/gemini-mcp-tool-through-1.1.8-argument-injection-via-model-parameter)

- [Vulnerable codehttps://github.com/jamubc/gemini-mcp-tool/blob/v1.1.8/src/utils/geminiExecutor.ts#L203-L234](https://github.com/jamubc/gemini-mcp-tool/blob/v1.1.8/src/utils/geminiExecutor.ts#L203-L234)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142216](https://www.cve.org/CVERecord?id=CVE-2026-142216)

**Severity:** High 7.7 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-142216)

**Package:** gemini-mcp-tool

**Ecosystem:** npm

**Affected:** <= 1.1.8

**Fixed:** None

**Weakness:** CWE-88

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
