What do hackers already know about your business? Get Your Free Report
Gemini CLI CVE-2026-85259: CVSS 10 Flaw in GitHub Triage Workflows
7 Mins Read
Summarize with:

Gemini CLI CVE-2026-85259: CVSS 10 Flaw in GitHub Triage Workflows

On December 1, 2026, Google published CVE-2026-85259, a flaw in the automated triage workflows of Gemini CLI, its open-source AI agent for the terminal. Rated 10.0, the maximum under CVSS 4.0, it could let an unauthenticated attacker use crafted GitHub issue content to run commands or read sensitive files on GitHub Actions runners using Gemini CLI or run-gemini-cli versions before May 12, 2026.

No exploitation has been reported. The remaining exposure lies with repositories that still run older copies of these workflows.

What Is CVE-2026-85259?

Google classifies CVE-2026-85259 as an OS command injection flaw (CWE-78) affecting both Gemini CLI and the run-gemini-cli GitHub Action. Instead of a version number, its CVE record uses a date as the cut-off: anything before May 12, 2026, is affected.

SOCRadar Vulnerability Intelligence card for CVE-2026-85259
SOCRadar Vulnerability Intelligence card for CVE-2026-85259

The flaw does not sit in an internet-facing server. It lives in the GitHub Actions workflow files and command templates provided with the run-gemini-cli action, which let Gemini label, review or attempt to fix incoming issues and pull requests. Maintainers can copy these files into their own repositories. The record credits Dan Lisichkin as the reporter.

How a GitHub Issue Reaches the Runner

The legacy triage, review and issue-fixer workflows feed issue titles and bodies into Gemini CLI’s prompt. Where a workflow gave the agent access to shell tools, those tools ran with the job’s permissions and secrets. Anyone who can open an issue on a public repository can therefore put text in front of an agent that holds credentials.

Google’s record confirms the outcome, command execution and file access, but not the exact payload or execution path. Independent analysis of the templates notes that the way the issue text is expanded does not, on its own, show direct shell injection before the model runs. The CVSS vector rates the flaw at the maximum: network attack, no privileges, no user interaction and high impact on both the runner and the systems it can reach.

In practice, the runner’s reach is what matters. The same analysis found that these workflows pass a GITHUB_TOKEN to the agent step and receive model provider keys as action inputs, while a checkout step that persists credentials leaves a Git token on disk. What an attacker can change in the repository depends on the scopes those tokens carry.

Which Workflows Are Affected?

ComponentAffectedFixed
run-gemini-cli GitHub Action and its example workflowsRevisions before May 12, 2026Revisions from May 12, 2026; Google references PR 518
Gemini CLI (@google/gemini-cli)Versions before May 12, 2026Versions from May 12, 2026; Google references PR 26897

The two pull requests the record references both set persist-credentials: false on actions/checkout steps, which stops the workflow token from being written into the runner’s Git configuration. Google has not said whether other changes form part of the fix. Workflow files copied into other repositories do not change when the Gemini CLI package or the action is updated, so each copy needs to be checked. Public repositories with issue-triggered automation face the most exposure, and private repositories with outside collaborators can be exposed too.

A Familiar Pattern in Gemini CLI Automation

CVE-2026-85259 is not the first critical flaw tied to Gemini CLI’s GitHub automation. In April 2026, Google fixed CVE-2026-12537 (CVSS 10.0), a remote code execution (RCE) flaw involving workspace trust and tool allowlisting bypasses, in Gemini CLI 0.39.1 and run-gemini-cli 0.1.22. Lisichkin’s earlier research showed, in a proof of concept (PoC) reported to Google, how a public issue could steer a triage agent into leaking a GitHub token that the checkout step had persisted.

The new record does not say which of the researcher’s reports it covers. Both cases point to the same risk: an AI agent reading untrusted issue text on a runner that holds credentials. Because the record’s cut-off date is May 12, updates applied in April for CVE-2026-12537 do not by themselves cover CVE-2026-85259.

Is CVE-2026-85259 Being Exploited?

As of December 2, 2026, there are no reports of attacks using the flaw. It does not appear in CISA’s Known Exploited Vulnerabilities catalog, and no public PoC has been identified.

Even so, the affected workflows and the referenced fixes are public on GitHub, and prompt injection against CI/CD agents has been a steady research focus this year. The absence of reported attacks is no reason to delay remediation.

Securing Gemini Triage Workflows

  • Find every repository that uses run-gemini-cli or a Gemini triage, review or issue-fixer workflow, including copies of Google’s example templates
  • Pin the action to a full commit SHA from May 12, 2026 or later, and update Gemini CLI to its latest release
  • Add persist-credentials: false to every actions/checkout step in workflows that process issue or fork pull request text
  • Remove shell tools and auto-approve (–yolo) mode from triage jobs, keep tool allowlists narrow, and scope GITHUB_TOKEN to read-only permissions where possible
  • Gate issue-triggered agent runs behind a maintainer label, an author_association check or a manually started workflow
  • Rotate GEMINI_API_KEY, GOOGLE_API_KEY, GitHub App keys and other secrets exposed to affected runners, then review past runs on issues and fork pull requests for shell syntax and unfamiliar outbound connections

What Google Fixed in the Android 17 QPR2 Update

Gemini CLI was not the only Google product with new CVE records on December 1. The same day, Google published the Android 17 QPR2 security bulletin, which fixes 85 vulnerabilities. Google says it has had no reports of active customer exploitation of the newly reported issues. Devices running Android 17 QPR2 with a security patch level of 2026-12-01 or later are protected.

Notable fixes in the bulletin include the following. Google rates all but the first High, and none requires user interaction:

  • CVE-2026-45530 (CVSS 8.4) – Local privilege escalation through a permission bypass in ParseManifest of apex_manifest.cpp; the only issue in the bulletin that Google rates Critical
  • CVE-2026-58982 (CVSS 9.8) – Remote privilege escalation through a permission bypass caused by a logic error in isEapOnlySafeMethod of EapSessionConfig.java
  • CVE-2026-58983 (CVSS 9.8) – Same description as CVE-2026-58982
  • CVE-2026-59024 (CVSS 9.8) – RCE through an out-of-bounds write in impeg2d_dec_i_mb_params of impeg2d_i_pic.c
  • CVE-2026-59039 (CVSS 8.1) – RCE through memory corruption caused by a race condition in the IP Multimedia Subsystem
  • CVE-2026-49928 (CVSS 8.8) – RCE through an out-of-bounds write caused by an integer overflow, requiring an attacker in proximity to the device

CISA’s Authorized Data Publisher (ADP) supplied the 9.8 scores. Because Google rates those three flaws High, vulnerability scanners that rely on CVSS may flag them as Critical. Google has not explained why CVE-2026-58982 and CVE-2026-58983 carry the same description, nor has it published technical detail for any of these flaws.

Organizations managing Android 17 devices should push the 2026-12-01 patch level through mobile device management as manufacturers release it.

Tracking AI Agent Risk With SOCRadar

AI agents in CI/CD pipelines now hold tokens that can change source code, and copies of their workflow files can outlive the fixes meant to protect them. Teams need to know which flaws matter and when the risk shifts:

  • Vulnerability Intelligence: Tracks CVE-2026-85259 and related Gemini CLI fixes, including any move to active exploitation or public exploit code, so patch order follows real risk
  • Dark Web Monitoring: Alerts when company credentials surface on Dark Web forums, marketplaces and leak channels, giving early warning that a leaked key may be in circulation
  • Cyber Threat Intelligence: Follows threat actor interest in CI/CD pipelines and AI developer tooling, helping teams anticipate when research turns into attacks
SOCRadar’s Vulnerability Intelligence: Latest CVEs and exploit trends
SOCRadar’s Vulnerability Intelligence: Latest CVEs and exploit trends

As AI agents take on more repository work, SOCRadar keeps new agent flaws and exposed credentials in view so teams can close the gaps before attackers find them.

Extended Threat Intelligence
Yağmur Ernalbant

Yağmur is a Senior Content Development Specialist at SOCRadar, covering both breaking cybersecurity news and the broader issues behind it. Through articles and regular Radar roundups, she tracks vulnerabilities, cybercrime, dark web activity, and other developments across the threat landscape.

Intelligence in your inbox every Thursday.

Join 30,000+ security professionals reading SOCRadar research.

Subscribe