StepSecurity
Gemini CLI flaw lets issue authors run code in GitHub Actions
Part of the CVE-2026-85259 story · since 2 Dec
- Wed 2 Dec, 11:00 UTC. SOCRadar, first report. Gemini CLI flaw lets attackers run commands through GitHub Actions.
- Thu 3 Dec, 15:30 UTC. StepSecurity, its first report on the story. Gemini CLI flaw lets issue authors run code in GitHub Actions. This article, 2nd of 2.
CVE-2026-85259 represents a critical code-injection flaw disclosed by Google on 1 December 2026 in legacy automated triage workflows for Gemini CLI and the google-github-actions/run-gemini-cli GitHub Action. The vulnerability allows an attacker to supply crafted GitHub issue content that can lead to arbitrary command execution or access to sensitive files on the workflow runner. The CVSS score is 10.0 (CVSS 4.0).
The exposure lies in the automation around the runner: while the issue analysis is intended to be data-only, the input can influence commands executed on the runner, meaning a compromised issue could drive privileged actions. The advisory notes that upgrading a CLI dependency does not rewrite a vulnerable workflow copied into a repository.
The article details how a vulnerable workflow reaches the runner: an issue-triggered job checks out code, writes the issue title and body to issue_context.md, and then Gemini analyses that file to return a label, with a subsequent step using a GitHub credential. Evidence cited includes environment settings such as GITHUB_TOKEN: '' and GEMINI_CLI_TRUST_WORKSPACE: 'true', plus a historical configuration allowing file reads and restricted shell entry.
Google’s remediation guidance emphasises disabling checkout credential persistence, restricting agent tools, avoiding unrestricted shell access and --yolo, and rotating secrets on affected runners. Remediation steps include reviewing affected workflows, updating the workflow configuration and CLI, pinning to a full commit SHA, limiting credentials, rotating exposed secrets, testing before re-enabling public triggers, and adopting Harden-Runner to gain runtime visibility. The article notes that as of 2 December 2026, exploitation is listed as “none” by CISA and is described as automatable.
How the story developed
2 articles from 2 outlets since 2 Dec. Still developing; the latest report was 8 hours ago. This was the 2nd report, 1 day after the first.
- Wed 2 Dec, 11:00 UTC. SOCRadar, first report. Gemini CLI flaw lets attackers run commands through GitHub Actions.
- Thu 3 Dec, 15:30 UTC. StepSecurity, its first report on the story. Gemini CLI flaw lets issue authors run code in GitHub Actions. This article, 2nd of 2.
- CVE not in KEV
- No CVE
- Larger: an outlet’s first report
- Coverage over time
Show all 2 articles as a listHide the list
- Wed 2 DecDay 01
- Gemini CLI flaw lets attackers run commands through GitHub Actions11:00 · SOCRadar · First report
- Thu 3 DecDay 11
- Gemini CLI flaw lets issue authors run code in GitHub Actions15:30 · StepSecurity · This article, 2nd of 2