{"id":"CVE-2026-142216","summary":"gemini-mcp-tool through 1.1.8 Argument Injection via model Parameter","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.","modified":"2026-12-02T23:45:27.908518919Z","published":"2026-12-02T16:50:29.904Z","database_specific":{"cwe_ids":["CWE-88"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142216.json","cna_assigner":"VulnCheck"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jamubc/gemini-mcp-tool","events":[{"introduced":"0"},{"last_affected":"588e73dfff07c29f5eeec988e886b46cc8cd6330"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"1.1.8"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["v1.1.8","v1.1.7","v1.1.6","v1.1.5","v1.1.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142216.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","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"}]}