AI & Compute · 3 min read
Gemini CLI workflow flaw scored CVSS 10.0 before disclosure
CVE-2026-85259 scored a maximum 10.0 in Gemini CLI issue-triage workflows, allowing unauthenticated command execution or file access; May fixes surfaced publicly Dec. 1.
Key takeaways
- CVE-2026-85259 received a CVSS 4.0 score of 10.0 for Gemini CLI issue-triage workflows.
- Versions before May 12, 2026 are affected; fixes merged May 11 and May 12.
- The gemini-cli fix changed persist-credentials to false across 33 workflow files.
- The run-gemini-cli change included gemini-invoke, gemini-issue-fixer, gemini-plan-execute and gemini-review.
- The advisory, published Dec. 1, does not say whether attackers exploited the flaw.

CVE-2026-85259, a code-injection flaw in automated issue-triage workflows used by Google’s Gemini CLI coding agent and the run-gemini-cli GitHub Action, carries a CVSS 4.0 score of 10.0. The advisory identifies versions before May 12, 2026 as affected.
A security advisory published on GitHub on Dec. 1 disclosed the maximum-severity issue nearly seven months after the referenced fixes landed in May. The delay did not alter the severity, but it extended the period during which users could run affected workflows without seeing this advisory.
How could a GitHub issue become an attack path?
The advisory says workflows before May 12 allowed “an unauthenticated remote attacker to execute arbitrary commands or read sensitive files using crafted GitHub issue inputs.” The attack path therefore began with issue content handled by an automated workflow, not with an authenticated session.
The underlying weakness involved the GitHub checkout step. By default, checkout leaves the workflow’s access token in the repository’s git configuration, where later steps in the same job can read it. Setting persist-credentials to false removes that stored token.
The setting works like clearing a saved password from a shared workstation. Here, the stored credential remained available to later workflow steps, while crafted issue input supplied the route toward command execution or file access. The advisory assigned both outcomes to the same maximum-severity flaw.
When did the fix arrive?
The advisory links two pull requests containing the repair. Their merge dates and scope differ:
- The May 12 pull request in the
gemini-clirepository setpersist-credentialstofalseon theactions/checkoutstep across 33 workflow files. - The May 11 pull request in
run-gemini-climade the same change for workflows includinggemini-invoke,gemini-issue-fixer,gemini-plan-executeandgemini-review.
The advisory’s stated cutoff and its linked merge dates differ by one day. It gives May 12 as the affected-version boundary, not a list of fixed release numbers. The linked pull requests supply the narrower implementation record: a May 11 merge for run-gemini-cli and a May 12 merge for gemini-cli.
Neither pull request described a security issue at the time. A quiet patch is still a patch, but only the advisory made the risk public. The disclosure therefore arrived almost seven months after the earliest code change.
What does the advisory leave unanswered?
The advisory does not say whether the flaw was exploited. It reports the vulnerable versions, the attack inputs, the affected workflows and the fixes, but it gives no determination about stolen files, executed commands or attacker activity.
For organizations still running an affected version, the disclosed mechanism identifies a concrete exposure: crafted issue input can meet a workflow whose checkout configuration retains an access token. Updating beyond the affected versions and removing persisted checkout credentials address the documented flaw.
Why does this fit the wider security picture?
The disclosure adds to a run of prompt-injection and credential-leak bugs in AI coding tools, including the Docker Sandboxes flaw reported this week. The report does not claim that the Docker Sandboxes issue and CVE-2026-85259 share a cause, an attacker or an exploitation campaign.
That distinction matters because the disclosed Gemini workflow handles issue content and retains a repository token in the same job. The two reports still point to the same security problem: tools that process untrusted content must limit the reach of stored credentials. Token persistence turns that configuration weakness into a durable path for later workflow steps.
The next meaningful signal will be patch adoption across the 33 amended Gemini CLI workflow files and the four named run-gemini-cli workflows. Until deployments use fixed versions, crafted issue input retains a documented route to arbitrary commands or sensitive-file access.
mlq.ai (Source)
More from Nathan Brooks
Show full bio
Senior reporter covering people, launches and day-to-day practice in Semiconductors, chip manufacturing, hardware, AI compute at Chip Dispatch.
1,395 articles