CVE-2026-142216
Gemini CLI
- Severity
- High
- Published
- December 2, 2026
- Last modified
- December 2, 2026
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.
CVSS vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
References
Listed in
More Gemini CLI CVEs
A Code Injection vulnerability in automated triage workflows in Google Gemini CLI and run-gemini-cli GitHub Action versions prior to 2026-05-12 on GitHub Actions allows an unauthenticated remote attacker to…
ATXP Gemini CLI extension through 1.0.0 contains an OS command injection vulnerability in runAtxp() that allows attackers to execute shell commands through unsanitized MCP tool parameters.
A vulnerability in the Gemini CLI prior to version 0.39.1 allows attackers to achieve arbitrary code execution by tricking a victim into starting the CLI within an untrusted directory.
Improper Neutralization used in an OS Command in the container launcher in Google Gemini CLI (versions prior to 0.39.1) and run-gemini-cli GitHub Action (versions prior to 0.1.22) on headless CI platforms…
