CVE-2026-142216
7.5HighPublished Dec 2, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
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.
$ npm list gemini-mcp-toolAI-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
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-768137.5HighRemote attackers can crash or stall the server by sending a malicious response that triggers excessive memory allocation and blocks the event loop. No authentication is required to trigger this denial-of-service condition.
- CVE-2026-768129.3CriticalUnauthenticated attackers can steal cloud IAM credentials via server-side request forgery. This allows them to move laterally into your cloud account.
- CVE-2026-768117.5HighRemote attackers can exfiltrate sensitive data from internal services or cloud metadata endpoints. This is possible because the tool fails to properly validate the request path, allowing SSRF.
- CVE-2026-1425027.1HighRemote attackers can crash applications or leak memory by providing a malicious HEIF image. This requires a user to open or process the crafted file.
- CVE-2026-1424927.8HighAttackers can achieve arbitrary code execution by tricking a user into opening a malicious IPS patch file. This requires the user to open a crafted ROM file with the malicious sidecar file present.
- CVE-2026-1424917.8HighAttackers can execute arbitrary Python code as the user running the application. This requires a user to load a malicious model or Hugging Face repository containing a crafted config.json.