CRITICAL FLAW IN GEMINI CLI GITHUB ACTION

Anyone who can open a public GitHub issue could steer an AI triage workflow into running commands or reading files on your build runner. Google rates it 10.0 Critical. What it means for every team that uses the Gemini CLI action, and how to fix it.

Published 2 December 2026, 9 pages, Mitigata Threat Research

In plain words

An automated tool that sorts new GitHub issues can be tricked by a public issue that anyone can post. The trick can make the tool read private files or keys on the computer that builds the software. This only matters for teams that use the tool this way. Update it, and replace any keys and tokens it could reach if you find anything odd.

For business leaders

A public GitHub issue can steer an AI triage workflow into running commands or reading files on the build runner. Google rates CVE-2026-85259 Critical, CVSS 4.0 10.0, and no exploitation is confirmed as of 2 December 2026. The report names no fixed release, so the usual patch alert gives no version to match. Only teams running Gemini CLI on public issues are affected. Ask engineering which repositories do this, and whether they are updated and pinned. Waiting leaves secrets, cloud credentials and repository write access exposed, a route into your software supply chain. CERT-In requires a report within 6 hours of a confirmed incident under Section 70B, so confirm the reporting path with compliance now.

For security analysts

Technique: prompt injection against an AI agent with tool access (analyst mapping: CWE-94 and CWE-78 family). Untrusted public issue text reaches Gemini CLI in issue-triage workflows (issue, issue comment, pull request target events). Impact: arbitrary commands and file reads on the runner, reaching repository secrets, GITHUB_TOKEN, cloud credentials and write access. CVE-2026-85259, CNA Google, published 1 December 2026, CVSS 4.0 10.0 Critical. Exploitation: none confirmed as of 2 December 2026, no public proof of concept noted, not in CISA KEV. NVD analysis pending. Affected: run-gemini-cli and Gemini CLI before 12 May 2026, a date boundary rather than a version number. Fixed releases not stated. Patch first: pin run-gemini-cli to a current commit SHA and update Gemini CLI to the latest hardened upstream release. Workaround: switch off automated triage of untrusted public issues, or require a maintainer label before the workflow runs. Harden: grant issues write and contents read only, set persist-credentials to false, keep secrets away from untrusted-input jobs. Detect: review triage runs for odd commands, file reads, outbound calls and token use; review issues for AI-directed text; check for unexpected commits, releases, workflow edits and new tokens. If abuse is found, treat the runner as compromised and rotate reachable secrets. Confirmed incident: report to CERT-In within 6 hours (Section 70B).

Key points

CVE ids covered: CVE-2026-85259

The full report is a PDF that opens with a work email.