Skip to content
MediumNewsLLM-specific

CVE-2026-85259: Gemini CLI Triage Flaw Lets Issue Authors Run Code in GitHub Actions

Published
Record updated
View JSON

Summary

Google disclosed CVE-2026-85259 (GHSA-g6vw-c6rx-j9ph), a critical code-injection flaw with a CVSS 4.0 score of 10.0, in legacy automated triage workflows for Gemini CLI and google-github-actions/run-gemini-cli. Crafted GitHub issue content can lead to arbitrary command execution or sensitive-file access on the workflow runner. The affected range covers versions before May 12, 2026, and the flaw is credited to Dan Lisichkin.

Mitigation

Review automated Gemini workflows that process external issues or pull requests, and update the workflow configuration, action, and CLI together. Disable legacy public-issue triage until that review is complete. Google's guidance calls for disabling checkout credential persistence, restricting agent tools, avoiding unrestricted shell access and --yolo, and rotating secrets present on affected runners.