Gemini CLI's GitHub Action had a CVSS 10 command injection bug
CVE-2026-85259 let an unauthenticated attacker run commands or read secrets on your CI by posting crafted text in a GitHub issue. Google fixed it quietly in May, then filed the CVE seven months later.
Google filed CVE-2026-85259 on 1 December: a CVSS 10, the maximum possible score, OS command injection bug in Gemini CLI and the companion run-gemini-cli GitHub Action. Versions before 12 May 2026 let an unauthenticated attacker run arbitrary commands or read sensitive files by posting crafted text in a GitHub issue, reaching the tools’ automated triage workflows on GitHub Actions with no login required.
The fix landed well before the disclosure. Google merged a hardening change into both repositories on 11 and 12 May, setting persist-credentials: false on the checkout step across 33 workflow files in Gemini CLI and six more in run-gemini-cli, including its issue-fixer and review workflows:
persist-credentials: false
The CVE record didn’t follow for close to seven months, and there’s no sign yet of a public proof of concept or confirmed exploitation. It isn’t on CISA’s exploited list. The @google/gemini-cli npm package still pulled 485,814 downloads in the week to 1 December, so plenty of repositories could have been running the unpatched triage workflow without anyone noticing.
Why it matters: if you’ve wired Gemini CLI’s issue triage or review workflows into GitHub Actions, check you’re running a Gemini CLI release and a run-gemini-cli commit from after 12 May 2026. An unauthenticated command injection reachable from a plain GitHub issue, with no repository access needed, is a serious gap in any CI pipeline.
The caveat: Google hasn’t published its own advisory beyond the CVE record itself, so the exact technical trigger for the injection isn’t independently confirmed.