CVE-2026-142216

7.5High

Published Dec 2, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.5CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
High
Privileges
None
User action
Required
Impact
Full C/I/A compromise
Weakness
CWE-88

What an attacker gets

Attackers can execute arbitrary host commands and modify files by injecting malicious flags into the Gemini CLI. This requires an LLM agent to be tricked into passing controlled arguments to the tool.

Root cause

The executeGeminiCLI function improperly sanitizes the model parameter, allowing command-line argument injection.

Affected versions

gemini-mcp-tool through 1.1.8

CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Fix & remediation

Upgrade to a version beyond 1.1.8 when available. Until then, restrict the LLM agent's access to the tool or disable the tool entirely.

remediation — bash
$ npm list gemini-mcp-tool

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-142216

More fully triaged vulnerabilities you may want to check next.