Gemini CLI triage workflows allow remote code execution and credential theft
CVE-2026-85259
Anyone can slip commands into GitHub issue auto-sorting jobs and steal secret keys!
- CVE
- CVE-2026-85259 (opens in a new tab)
- Score
- CVSS 10.0
- First seen
Mitigation
Update run-gemini-cli and @google/gemini-cli to 2026-05-12 or later. Disable or remove legacy automated triage workflows that process public issues. Until then, set persist-credentials: false on actions/checkout steps, restrict tool allowlists, and avoid --yolo or unrestricted shell execution. Rotate repository secrets (GEMINI_API_KEY, APP_PRIVATE_KEY) that were present in affected workflows.
Can't update yet?
Add this line to the config file:
persist-credentials: false
A wrong setting can stop the service or lock you out. Check the source links below first.
Summary
Automated issue triage workflows in Gemini CLI and the run-gemini-cli GitHub Action have a code injection flaw. An unauthenticated remote attacker can run commands or read sensitive files using crafted GitHub issues; versions prior to 2026-05-12 are affected.
Affected when
- GitHub Actions automated issue triage workflow processing public issues
- Gemini CLI or run-gemini-cli in use
Incidents by product: Gemini CLI · run-gemini-cli GitHub Action
Read the CVE record · cve.org (opens in a new tab)
- CVE record: cve.org (opens in a new tab)