Google Discloses Critical Gemini CLI Workflow Flaw in GitHub Actions

Summary
Google disclosed CVE-2026-85259 (CVSS 10.0), where crafted GitHub issue content can lead legacy Gemini CLI triage workflows to execute commands or access runner files. Google recommends workflow hardening, credential review and secret rotation.
Key points
- CVE-2026-85259 affects legacy automated triage workflows using Gemini CLI and the run-gemini-cli GitHub Action; crafted issue content can lead to command execution or sensitive-file access on the runner.
- The article rates the flaw CVSS 4.0 10.0 and identifies versions before May 12, 2026, using Google's date-based range, as affected.
- The historical workflow could expose checkout credentials stored in .git/config to the agent, even when its GITHUB_TOKEN environment variable was empty.
- The GitHub Advisory Database entry has no affected npm version range or specific fixed package version and is marked unreviewed; dependency scans may miss the workflow-level exposure.
- Google's guidance includes reviewing and updating workflow configuration, action and CLI together; disabling legacy public-issue triage during review; restricting tools and credentials; and rotating secrets available to affected runners.
- As of December 2, 2026, the article says CISA enrichment listed exploitation as “none” and the attack as automatable; a matching workflow does not establish exploitation or credential theft.
Article Details
- Vulnerability Types
- Code injection
- Severity
- Critical; CVSS 4.0 score 10.0
- Affected Versions
- Gemini CLI legacy automated triage workflows using configurations before 2026-05-12
- google-github-actions/run-gemini-cli legacy automated triage workflows using configurations before 2026-05-12
- Exploitation Status
- not_reported
- Exploit Availability
- unknown
- Patch Status
- available
- Workarounds
- Disable legacy public-issue triage until the workflow has been reviewed and updated.
- Set persist-credentials: false on checkout steps.
- Restrict agent tools and avoid unrestricted shell access and --yolo.
- Rotate secrets present on affected runners.
MITRE ATT&CK
T1059.004 · Unix ShellCrafted issue content can lead the triage workflow to execute arbitrary commands on its Ubuntu runner through the agent's permitted shell tooling.T1552.001 · Credentials In FilesBefore the patch, checkout authentication could persist in .git/config, which the Gemini step could read, potentially exposing credentials to the issue-driven workflow.
CVE
People
Vendors
GitHubcode-injection vulnerability in legacy automated triage workflows for Gemini CLI and the run-gemini-cli GitHub Action. An attacker can supply crafted GitHub issue content that leads to arbitrary command execution orGoogleOn December 1, 2026, Google disclosed CVE-2026-85259, a critical code-injection vulnerability in legacy automated triage workflows for Gemini CLI and the run-gemini-cli GitHub Action. An attacker can supply craftedStepSecurityHow StepSecurity Helps
Products
Gemini CLICVE-2026-85259, a critical code-injection vulnerability in legacy automated triage workflows for Gemini CLI and the run-gemini-cli GitHub Action. An attacker can supply crafted GitHub issue content that leads toGitHub ActionsGitHub Actions runs jobs on machines called runners. Gemini CLI executes on that machine and invokes the tools its configuration permits. The issue author controls the text being analyzed, but should not control thosegoogle-github-actions/run-gemini-cliComponents Legacy automated triage workflows for Gemini CLI and google-github-actions/run-gemini-cliHarden-RunnerFixing the workflow removes the vulnerable configuration. Harden-Runner adds visibility into what a monitored job actually does and controls where it can connect.
