Skip to content
CVSS 10.0 Gemini CLI Flaw Lets Remote Attackers Run Commands via GitHub Issues

CVSS 10.0 Gemini CLI Flaw Lets Remote Attackers Run Commands via GitHub Issues

First seen 2 Dec 2026, 15:54 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •December 2, 2026 at 15:56 UTC
  • •CVE-2026-85259 is rated CVSS 4.0 10.0 and affects legacy Gemini CLI and run-gemini-cli triage workflows before 12 May 2026.
  • •Unauthenticated attackers can use crafted GitHub issue text to run commands or read sensitive files, per the advisory as reported.
  • •Updating the package alone does not fix workflow files; maintainers must update copied templates and pin the action to a verified commit SHA.
  • •Ostorlab reports no public proof of concept or exploitation, and the CVE is not in CISA KEV as of 2026-12-02.
  • •Set persist-credentials: false, restrict shell tools, and rotate GEMINI_API_KEY and APP_PRIVATE_KEY if exposed.

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.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Or ask in your own assistant: ClaudeChatGPTPerplexityGemini

Timeline

2026-05-11
Fix merged into run-gemini-cli
A pull request making the persist-credentials change across gemini-invoke, gemini-issue-fixer, gemini-plan-execute and gemini-review was merged; it did not describe a security issue at the time.
MLQ.ai
2026-05-12
Fix merged into gemini-cli
A pull request setting persist-credentials to false across 33 workflow files was merged, per MLQ.ai.
MLQ.ai
2026-12-01
CVE-2026-85259 published
Google published the advisory rating the flaw CVSS 4.0 10.0 Critical (CWE-78); GitHub advisory reported by Cybersecuritynews and MLQ.ai.
Cybersecuritynews

More articles in this cluster (7)

Following this threat?

Track Google and CVE-2026-85259 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

Am I affected?
You are exposed if a public or fork-reachable repository runs run-gemini-cli triage, review or issue-fixer workflows at a revision before 12 May 2026 on untrusted issue or pull-request text.
Is this being exploited?
Ostorlab reports no public proof of concept and no exploitation, and states the CVE was not in CISA KEV as of 2026-12-02.
What should we do first?
Update the action and CLI to builds from 12 May 2026 or later, update copied workflow templates, and pin the action to a verified commit SHA.