{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "1.1.8"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "588e73dfff07c29f5eeec988e886b46cc8cd6330"
            }
          ],
          "repo": "https://github.com/jamubc/gemini-mcp-tool",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-88"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142216.json"
  },
  "details": "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.",
  "id": "CVE-2026-142216",
  "modified": "2026-12-02T23:45:27.908518919Z",
  "published": "2026-12-02T16:50:29.904Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142216.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/jamubc/gemini-mcp-tool"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/jamubc/gemini-mcp-tool/blob/v1.1.8/src/utils/geminiExecutor.ts#L203-L234"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142216"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/gemini-mcp-tool-through-1.1.8-argument-injection-via-model-parameter"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "gemini-mcp-tool through 1.1.8 Argument Injection via model Parameter"
}