← All tools
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. criticalCode executionNew this weekCVE-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. criticalCode executionCVE-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. highAgent hijackingNew this weekCVE-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

Also worth checking

01. highCode executionCVE-2026-117558 and seven more: VulnCheck discloses command injection in eight MCP servers and agent tools, from ai-sdlc and sf-mcp to mcp-ffmpeg and an ATXP Gemini CLI extensionOn 27 October 2026 VulnCheck published CVEs for eight MCP servers and agent extensions that pass tool arguments into shell commands. In seven of them, a prompt-injected agent or a malicious MCP client can slip shell metacharacters into a tool parameter and run commands as the MCP server user; in the eighth (nmap-mcp) an allowlist bypass lets callers run intrusive nmap scripts. Several have no fixed release yet, so the safe move is to remove or sandbox them. MCP SDKs & servers Gemini CLI 2026-10-27
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.