Google Gemini CLI
Unauthenticated Remote Code Execution and Credential Exfiltration in Gemini CLI GitHub Actions Triage Workflows
A Code Injection vulnerability in automated triage workflows in Google Gemini CLI and run-gemini-cli GitHub Action versions prior to 2026-05-12 on GitHub Actions allows an unauthenticated remote attacker to execute arbitrary commands or read sensitive files using crafted GitHub issue inputs.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2026-05-12
Fixed in 2026-05-12
- < 2026-05-12
Fixed in 2026-05-12
Mitigation
1. Update workflows to the latest hardened versions of google-github-actions/run-gemini-cli and @google/gemini-cli (or disable/remove legacy automated issue triage workflows running on untrusted public issue inputs). 2. Configure persist-credentials: false on actions/checkout steps in workflows that process untrusted inputs. 3. Restrict tool allowlists (coreTools) and avoid enabling unrestricted shell execution (run_shell_command / --yolo) when triaging untrusted issues or pull requests. 4. Rotate any repository secrets (GEMINI_API_KEY, APP_PRIVATE_KEY) that were present on affected workflow runners.
References
Timeline
Days relative to CVE publicationFirst public PoC 1.7 days after publication; not in CISA KEV. First PoC: xiangmaster/cve-2026-85259-repro (created 3 Dec 2026, found by us: 3 Dec 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| xiangmaster/cve-2026-85259-repro | 3 Dec 2026 +1.7 d | 3 Dec 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.