IDEs & agents · Google
Gemini CLI
Google’s open-source terminal agent for Gemini.
4Advisories
2critical
2high
0medium
2026-12-02Latest
Timeline · advisories per quarter
12026 Q2
32026 Q4
Named in sources
Reported for Gemini CLI
01. CVE-2026-85259: Google's automated Gemini CLI triage workflows (gemini-cli and the run-gemini-cli GitHub Action) could be driven by a crafted GitHub issue to run commands or read secrets (fixed 12 May 2026)Google disclosed a code injection flaw in the automated issue-triage GitHub Actions workflows shipped in Gemini CLI and the run-gemini-cli GitHub Action before 2026-05-12. An unauthenticated outsider could open a GitHub issue with crafted content and make the workflow execute arbitrary commands or read sensitive files. The linked fixes, merged on 11 and 12 May 2026, set persist-credentials: false on every actions/checkout step in the workflows. Anyone who copied these triage workflows into their own repositories should re-sync them.
Gemini CLI 2026-12-01 02. CVE-2026-12537: Gemini CLI: Remote Code Execution via workspace trust and tool allowlisting bypassesGemini CLI (@google/gemini-cli) and the run-gemini-cli GitHub Action are being updated to harden workspace trust and tool allowlisting, in particular when used in untrusted environments like GitHub Actions.
Gemini CLI 2026-04-24 03. CVE-2026-142216: gemini-mcp-tool passes the model parameter straight to Gemini CLI, so a prompt-injected agent can slip in --yolo and auto-approve commands on the host (1.1.8, no fix yet)gemini-mcp-tool (npm, jamubc/gemini-mcp-tool) is an MCP server that lets Claude Code and other agents hand work to Google's Gemini CLI. Its executeGeminiCLI() puts the tool's model argument on the Gemini CLI command line as given. If an attacker can steer the calling agent, for example with prompt injection in a file or web page, the agent can pass a value like --yolo to ask-gemini or brainstorm. Gemini CLI then auto-approves its own shell commands and file edits on the host. VulnCheck rates it 7.7 and lists 1.1.8, the latest npm release, as affected.
Gemini CLI
MCP SDKs & servers 2026-12-02
Same pattern