CVE-2026-85259: 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Remove
Remove the affected component from your environment.
Remove legacy automated issue triage workflows that run on untrusted public issue inputs.
- Configuration
Set persist-credentials: false on checkout steps in workflows that process untrusted inputs.
actions/checkout persist-credentials = false - Configuration
Restrict the coreTools allowlist when triaging untrusted issues or pull requests.
Gemini CLI coreTools = restricted allowlist - Configuration
Do not enable unrestricted shell execution when triaging untrusted issues or pull requests.
Gemini CLI run_shell_command / --yolo = disabled - Operational
Rotate any GEMINI_API_KEY or APP_PRIVATE_KEY repository secrets that were present on affected workflow runners.
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
GitHub Actions triage workflows using Google Gemini CLI or the Google run-gemini-cli GitHub Action are affected if they used versions prior to 2026-05-12.
What does an attacker need to exploit the vulnerability?
An unauthenticated attacker needs to provide crafted GitHub issue input to a vulnerable automated triage workflow. Successful exploitation can execute arbitrary commands or read sensitive files available to the workflow.
How can I determine whether my workflow may be affected?
Review GitHub Actions workflows that automatically process GitHub issues and invoke Gemini CLI or run-gemini-cli. Workflows using versions prior to 2026-05-12 and passing issue-derived input into the triage process may be affected.