Google disclosed a maximum-severity vulnerability in the Gemini CLI GitHub Action on December 1, 2026. Tracked as CVE-2026-85259, it let an attacker who could merely post text in a public GitHub issue trigger command execution on a CI runner, no login to the runner, no repository privileges, no pull request merge required. Anyone running automated Gemini issue-triage workflows in GitHub Actions needs to check their configuration this week.
What the advisory says
CVE-2026-85259 is also tracked as GHSA-g6vw-c6rx-j9ph. It covers legacy automated triage workflows for Gemini CLI and the google-github-actions/run-gemini-cli Action, and it carries a CVSS v4.0 score of 10.0, the maximum possible. Dan Lisichkin is credited as the reporter. The affected range is date-based, not version-numbered: workflows from before May 12, 2026 are in scope. That matters because a routine dependency version check won't reliably flag it.
The flaw lets an attacker supply crafted GitHub issue content that leads to arbitrary command execution or sensitive-file access on the workflow runner. The access path requires no runner login and no repository privileges, but the attacker still has to get text in front of the workflow, typically by opening a public issue. It doesn't bypass GitHub's own sign-in rules; it just means the sign-in rules were never the control that mattered here.
How the chain actually worked
The root problem is an old pattern dressed up in a new agent. A triage workflow reads issue text, hands it to Gemini CLI as context, and lets Gemini call tools, read files and run shell commands to help categorize or respond to the issue. The issue author controls the text being analyzed. They should not control the tools the agent calls or the runner's credentials, but on the vulnerable workflows they effectively did.
1 · Checkout step runs
The workflow's checkout step authenticates to the repository. On the affected workflows, that step had not disabled credential persistence, so the token landed in .git/config inside the workspace.
2 · Attacker opens an issue
Crafted issue text looks like a normal bug report but contains instructions aimed at the agent rather than the human triager.
3 · Gemini reads and acts
The triage step reads the issue, including the injected instructions, and can call file-read or shell tools against the same workspace where the git credential sits.
4 · Commands execute
Because the checkout credential is reachable and the agent's tool calls aren't scoped away from it, the injected instructions run as commands with that credential's reach.
Some example workflows made this worse directly. One widely referenced Gemini "issue-fixer" template passed a GitHub token to Gemini as an explicit variable, even on copies that had already disabled checkout credential persistence. Turning off persist-credentials doesn't help if the token is handed to the agent through another input anyway.
What Google actually fixed
The fix is narrow and specific, not a version bump you pull with a package manager update.
Google's gemini-cli repository merged a patch adding persist-credentials: false across 33 workflow files on May 12, 2026, and the separate run-gemini-cli Action updated checkout settings in six workflow files a day earlier, on May 11. Older versions of the checkout Action wrote the git credential into local Git configuration inside the workspace; checkout v6 moves that credential file into the runner's temporary directory instead, somewhere a workspace-scoped file read is less likely to land on it.
That fixes the default templates. It does not fix every fork, every custom triage workflow copied from an older example, or any workflow that still passes a token to Gemini explicitly instead of relying on checkout alone.
Why a dependency scanner will miss this
As of this incident's disclosure, the advisory was still marked unreviewed in the GitHub Advisory Database and had no Dependabot alert attached, meaning a routine dependency scan would not have surfaced it. If your only control for third-party Action risk is "Dependabot would tell us," this is a concrete case where it wouldn't have. Someone has to read the workflow YAML.
No public exploit code or confirmed in-the-wild attacks have been reported against CVE-2026-85259 as of this writing, and that's worth saying plainly rather than implying otherwise. It's also not Gemini CLI's first CVSS-10 incident this year: an earlier flaw in Gemini CLI and run-gemini-cli, rooted in workspace trust and tool-allowlist handling, was separately scored at the maximum CVSS v4 value of 10.0 and disclosed publicly in August. Same category of mistake both times: an agent reading untrusted input in CI while holding more reach than that input should ever touch.
What to check in your own repositories
- Search your workflows for
gemini-cliorrun-gemini-clisteps that trigger onissuesorissue_commentevents. - Confirm the checkout step sets
persist-credentials: false, and separately check whether any step passes aGITHUB_TOKENor API key to the agent as an explicit input regardless. - Pin the Action to a commit SHA rather than a floating tag, and compare your workflow against the May 2026 hardening pull requests referenced in GHSA-g6vw-c6rx-j9ph.
- Rotate any secret that was reachable from a triage runner before the patch landed. A scoped rotation is cheaper than a guess.
This bug worked because the runner credential sat in the same workspace the agent's tools could read, which is the specific failure KnoxCall is built against: injecting third-party credentials at the network edge instead of handing them to the agent's execution context means a compromised tool call never has a real token to find. We make a product in this space, and we're saying this because it fits the actual shape of this bug, not because every CI secrets leak looks like this one.