Skip to content
Max-severity Gemini CLI workflow flaw disclosed, months after a quiet fix

Max-severity Gemini CLI workflow flaw disclosed, months after a quiet fix

Mlq.Ai • December 2, 2026

CVE-2026-85259 is a code-injection flaw in automated triage workflows in Gemini CLI and the run-gemini-cli GitHub Action, rated 10.0 critical under CVSS 4.0 [1] .

Crafted GitHub issue inputs could let an unauthenticated remote attacker execute arbitrary commands or read sensitive files [1] .

Versions before May 12, 2026 are affected; the fixes referenced in the advisory were merged May 11-12 [1] [2] [3] .

A security advisory published on GitHub on Dec. 1 discloses a maximum-severity flaw in the automated issue-triage workflows used by Google's Gemini CLI coding agent and its run-gemini-cli GitHub Action [1] . The bug, CVE-2026-85259, is rated critical with a CVSS 4.0 score of 10.0 [1] .

The advisory says workflows in versions before May 12, 2026 allowed "an unauthenticated remote attacker to execute arbitrary commands or read sensitive files using crafted GitHub issue inputs" [1] .

Fixed months before disclosure

The advisory links two pull requests as the fixes [1] . One, merged into the gemini-cli repository on May 12, sets persist-credentials to false on the actions/checkout step across 33 workflow files [2] . The other, merged into run-gemini-cli on May 11, makes the same change to workflows including gemini-invoke, gemini-issue-fixer, gemini-plan-execute and gemini-review [3] . Neither pull request described a security issue at the time [2] [3] .

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.

This article was produced by MLQ.ai's AI newsroom and checked against primary sources such as company filings, official releases and court documents. Reports from a single outlet are attributed. Editor: Peter Foy . How we work · Spotted an error? Tell us .

The full story

This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.

CVSS 10.0 Gemini CLI Flaw Lets Remote Attackers Run Commands via GitHub Issues Google published CVE-2026-85259 on 1 December 2026, a flaw in the legacy automated triage workflows of Gemini CLI and the run-gemini-cli GitHub Action, rated 10.0 under CVSS 4.0. According to the GitHub advisory as reported by Cybersecuritynews and MLQ.ai, an unauthenticated remote attacker could use crafted GitHub issue text to execute arbitrary commands or read sensitive files. Affected versions are those before 12 May 2026, and the articles say the exposed component is the workflow automation around Gemini CLI rather than the Gemini model or normal local CLI use. Workflows used Gemini to sort issues and review contributions, with issue titles and bodies passed to the agent through environment variables; Cybersecuritynews notes that the advisory does not publish the exact payload or execution sequence. Commands run with the permissions available to the workflow job, and the documented issue-fixer workflow supplied GITHUB_TOKEN to the agent step, so repository write impact is possible but Cybersecuritynews states command execution alone does not establish that any changes occurred. Ostorlab's background post says public repositories running the legacy workflows are the main exposure, that forks can reach maintainers through pull requests, and that the CLI has 516,442 weekly npm downloads. MLQ.ai reports that fixes were merged on 11 and 12 May 2026 without a security description at the time, and that the fix adds persist-credentials: false across 33 workflow files. Ostorlab reports no public proof of concept and no exploitation, and states the CVE is not in CISA KEV as of 2026-12-02. Remediation is to update the action and CLI to builds from 12 May 2026 or later, pin to a verified commit SHA, restrict shell tools, and rotate GEMINI_API_KEY and APP_PRIVATE_KEY. 5 sources 75

Extracted Entities

Attack Types (1)

Companies (1)

CWE Weaknesses (1)

Domains (1)

Platforms (1)