Google Discloses a CVSS 10.0 Flaw Letting GitHub Issues Hijack Gemini CLI Triage Bots
Google published CVE-2026-85259 on 1 December 2026, saying automated GitHub issue-triage workflows built on Gemini CLI and the run-gemini-cli Action could let unauthenticated attackers run commands and read secrets on Actions runners.
Google published a security advisory on 1 December 2026 for CVE-2026-85259, a flaw in automated GitHub issue-triage workflows built on Gemini CLI and the run-gemini-cli GitHub Action. The advisory, tracked as GHSA-g6vw-c6rx-j9ph, rates the flaw 10.0 out of 10.0 under CVSS v4.0, with the vector AV:N/AC:L/AT:N/PR:N/UI:N showing that no privileges and no user interaction were needed to exploit it.
The affected code is a type of workflow many open-source projects have adopted over the past two years: a bot that reads a newly opened GitHub issue, asks an AI model to suggest a label, and applies that label automatically. According to the advisory, both Gemini CLI's own triage workflows and the separate run-gemini-cli Action shipped versions of this pattern before 12 May 2026 that an unauthenticated attacker could turn into a route to running commands on the runner itself.
Google's advisory states plainly that the issue allowed "an unauthenticated remote attacker to execute arbitrary commands or read sensitive files using crafted GitHub issue inputs." Because the triage jobs run on hosted GitHub Actions runners with repository secrets available to them, that description covers more than a denial of service: it covers credential theft.

How a GitHub issue became a command line
A write-up by StepSecurity, published 3 December 2026, traces the mechanics step by step. Opening or reopening an issue triggers the workflow; the runner checks out the repository; the issue's title and body are written into a file for Gemini CLI to analyze; the model proposes a label; and a later step applies it using the workflow's GitHub credentials. StepSecurity's post summarizes the risk this way: "A triage job is supposed to read an issue and choose a label. If that input can influence commands on the runner, the same job becomes a route to the credentials and files available there."
A separate technical analysis from Ostorlab, published 2 December 2026, locates the root cause in the checkout step's default behavior. The Ostorlab post explains that the actions/checkout step writes a valid GitHub token into the repository's local Git configuration file by default, unless a workflow explicitly sets persist-credentials: false — a setting the affected triage workflows had not set. Because the triage step also gave Gemini CLI a tool capable of running shell commands, that tool could read the token straight out of the Git configuration file during the triage run.
What was exposed
Ostorlab's write-up lists the practical fallout: an attacker who reached this path could pull the workflow's GITHUB_TOKEN along with any provider keys passed into the job, including GEMINI_API_KEY and GOOGLE_API_KEY, and it recommends that maintainers "rotate GEMINI_API_KEY, APP_PRIVATE_KEY, GOOGLE_API_KEY and every other secret that was present on a runner that executed a vulnerable workflow." The GitHub advisory's own severity breakdown marks confidentiality, integrity and availability impact all "High," reflecting that a compromised runner could also tamper with repository content or CI artifacts reachable with the stolen token.
The advisory's references point to two pull requests that closed the hole: pull request #26897 in the google-gemini/gemini-cli repository, which sets persist-credentials: false on the checkout step across 33 workflow files, and pull request #518 in run-gemini-cli, which makes the equivalent change in six workflow files. The gemini-cli fix merged 12 May 2026 and the run-gemini-cli fix merged 11 May 2026, months before Google's public disclosure in December.

A gap between a quiet fix and a public advisory
That gap is itself notable. The vulnerable code was already replaced in both repositories by mid-May 2026, but Google did not publish the CVE and advisory describing what had been wrong until 1 December 2026. StepSecurity's post warns that teams relying on pinned commit hashes for supply-chain safety should not assume an old pin is safe by default: "Pinning preserves a reviewed revision; it does not fix an unsafe workflow or make an old vulnerable revision safe." StepSecurity reports that, as of 2 December 2026, CISA's enrichment of the vulnerability record listed exploitation as "none," and neither StepSecurity nor Ostorlab reported evidence that the flaw had been exploited in the wild.
Why it matters beyond one project
For developers and researchers building their own AI-driven automation on top of GitHub Actions, CVE-2026-85259 is a concrete case study in a failure mode specific to agentic tooling: an AI agent given file-reading access inside a CI job can retrieve credentials that a workflow author believed were already cleared, simply because the agent's tools and the checkout step's defaults disagree about what counts as "cleared." Google's fix did not change what Gemini CLI itself is allowed to read; it changed a GitHub Actions checkout setting so that a valid token is never written to disk in the first place. Anyone maintaining a similar issue-triage bot, with any model provider, can check their own workflows for the same default.
A quick question for readers
Which skill will matter most for getting a job in 2030?
Everyone has a prediction. Add yours and see what students are betting on.
Pick an answer, create a free account in a minute, and your vote counts. Already a member? Sign in
Comments 3
Comment-
Thirty-nine workflow files total needed the exact same one-line fix - persist-credentials: false - split across the two repos. That tells yo…
-
The part that actually matters here isn't the CVSS 10.0, it's where that score comes from: no privileges, no user interaction, just a crafte…
-
The gap that stands out is the five-plus months between the fix merging and the advisory going public: fixed 11-12 May, disclosed 1 December…
Join free to read the full comments and reply Comments are between members; an account takes a minute.
Source: GitHub Security Advisory (google-gemini/gemini-cli)
Sources (3)
- Google Gemini CLI. GHSA-g6vw-c6rx-j9ph: Code Injection vulnerability in automated triage workflows in Google Gemini CLI and run-gemini-cli GitHub Action. GitHub Security Advisories, 2026. github.com ↗ · checked 4 Dec 2026
- Venkata Gopi Yamparala. CVE-2026-85259: Gemini CLI Triage Flaw Lets Issue Authors Run Code in GitHub Actions. StepSecurity, 2026. stepsecurity.io ↗ · checked 4 Dec 2026
- Ostorlab Team. Gemini CLI GitHub Actions RCE (CVE-2026-85259). Ostorlab, 2026. blog.ostorlab.co ↗ · checked 4 Dec 2026