Threat intel4 min read
Gemini CLI triage workflows let outsiders run commands
CVE-2026-85259 (CVSS 4.0 10.0) let anyone who could open a GitHub issue run commands on runners using Gemini CLI triage workflows from before 12 May 2026.
4Tify Team

Google has disclosed CVE-2026-85259, a critical flaw in the automated issue-triage workflows that ship with Gemini CLI and the run-gemini-cli GitHub Action. Anyone who can open an issue on a public repository could use it to run commands on the workflow runner or read sensitive files there. The CVE record was published on 1 December 2026 with a CVSS 4.0 score of 10.0.
What happened
Some repositories use Gemini to sort new issues, label them or suggest fixes. A GitHub Actions workflow picks up each new issue and hands its contents to the Gemini agent. Google's record classifies the bug as OS command injection (CWE-78): issue text written by an outsider could end up driving commands on the runner, with no login and no repository permissions required.
The record scores the flaw at the top of the scale on every axis: reachable over the network, low complexity, no privileges, no user interaction. It rates the impact as high on both the runner itself and the systems the workflow can reach.
Who is affected
Google's record does not use version numbers. It marks Gemini CLI and the run-gemini-cli Action as affected before 12 May 2026. That date matches the hardening changes Google merged in both projects in May. In the main Gemini CLI repository, one change set persist-credentials: false on every checkout step across 33 workflow files.
The risk comes from workflows that pass outside input to the agent. You are exposed if your repository:
- runs a Gemini triage, issue-fixer or similar workflow that reacts to new issues or pull requests;
- uses copies of those workflow files made before mid-May 2026 that were never refreshed;
- gives that workflow a token with write access, or other secrets on the runner.
What an attacker gets
The commands run with whatever the workflow job can reach. That usually includes the job's GitHub token and any API keys passed to the step. If the token can write to the repository, an attacker could try to change code or releases. As of 3 December 2026 no public exploit or attack using the flaw has been reported, and it is not in CISA's Known Exploited Vulnerabilities catalog.
What to do now
- Search your repositories for
run-gemini-cliin.github/workflowsand list every workflow that processes issue or pull request text. - Update the Action and the CLI, and replace copied workflow files with the current versions. Updating the package alone does not rewrite YAML files you copied into your repo.
- Pin the Action to a full commit SHA instead of a tag.
- Set
persist-credentials: falseon checkout steps and give the job the smallest token permissions that still work. - Remove shell access for the agent where triage does not need it, avoid
--yolomode, and require a maintainer's approval before the agent acts on outside input. - Go back through past runs for unexpected commands, network calls or repository changes. Rotate any secret that was available to an affected job.
The record and its references are on CVE.org, and the NVD entry is here.
CI workflows are code, and they are often copied once and forgotten. Our AI-assisted code review covers .github/workflows along with the application: it flags jobs that feed untrusted input to tools with shell access or write tokens, so a copied template like this one gets caught before someone outside opens an issue.
