npm
CVE-2026-142216
gemini-mcp-tool through 1.1.8 Argument Injection via model Parameter
- Severity
- High 7.7
- Published
- 2 Dec 2026
- Last changed
- 2 Dec 2026
- Added to UpHeron
- 2 Dec 2026
- Weakness
- Argument injection (CWE-88)
- Attack
- Over the network · Only under certain conditions · No login needed · Needs someone to view a page or file
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
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- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
gemini-mcp-toolnpm · osv:npm:gemini-mcp-tool |
|
About gemini-mcp-tool
- Weekly downloads (npm)
- 3,287npm, 2 Dec 2026
This is the only vulnerability in gemini-mcp-tool in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142216