Vulnerability  ·  2026-12-03

Gemini CLI / run-gemini-cli GitHub-triage workflow code injection (CVSS 10)

VulnerabilityHigh impactGlobalCVE-2026-85259
Published 2026-12-01 by Google and rated CVSS 10.0 (CWE-78, automatable, technical impact total per CISA SSVC). A code-injection flaw in the automated triage workflows means an unauthenticated remote attacker can execute arbitrary commands or read sensitive files on GitHub Actions runners via crafted issue inputs. No in-the-wild exploitation or public PoC as of 2026-12-02.
This is the prompt-injection-to-RCE class against AI coding agents in CI/CD. An attacker opens an issue on a public repo and the agent — holding the repo token and model keys — can be steered to exfiltrate secrets or alter the repo. Copied workflow files in other repos won't inherit the fix, so exposure persists after upgrade.
A crafted GitHub issue title/body is fed into the agent's prompt on a runner that has shell access, secrets and a persisted checkout token, so untrusted issue text can steer the agent into running commands or reading files.
Google Gemini CLI and run-gemini-cli GitHub Action — versions before 2026-05-12 (date-based boundary)
Upgrade Gemini CLI and pin run-gemini-cli to a revision from 2026-05-12 or later (Google PRs 26897 / 518); set persist-credentials:false on actions/checkout; narrow GITHUB_TOKEN scope; remove --yolo/shell tools from triage jobs. Copied workflow templates do not auto-update — audit each copy.
SOCRadar — Gemini CLI CVE-2026-85259: CVSS 10 Flaw in GitHub Triage WorkflowsNVD record CVE-2026-85259
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →