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

Published Dec 2, 2026
·
Updated

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 Software

1 affected component
npm/gemini-mcp-tool<=1.1.8

Event History

Dec 2, 2026
CVE Published
via MITRE·04:50 PM
Data Sourced
via MITRE·04:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Event
via NVD·05:17 PM

Frequently Asked Questions

1

Who is exposed to this issue?

Deployments of npm/gemini-mcp-tool through version 1.1.8 are exposed when an attacker can influence MCP tool arguments, including by prompt-injecting the LLM agent that invokes the tool.

2

What does exploitation require?

An attacker must cause the calling agent to pass a crafted value in the model parameter to the ask-gemini or brainstorm tool path. The injected value can be interpreted as Gemini CLI options, such as --yolo.

3

What is the practical impact of the --yolo example?

The --yolo option can enable auto-approve mode for host command execution and file modification. This can turn control over a model argument into execution and modification actions on the host.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203