# Gemini CLI / run-gemini-cli GitHub Actions triage workflows: unauthenticated RCE via issue text CVE-2026-85259 (CVSS 10) · pwn.watch > CVE-2026-85259 (CVSS 4.0 10.0, CWE-78) is a code injection flaw in the automated issue-triage workflows shipped with Google's Gemini CLI and the run-gemini-cli GitHub Action. An unauthenticated attacker who opens a crafted GitHub issue on a repository using these workflows can execute commands on the runner or read sensitive files, such as tokens and secrets. Google fixed the workflows on May 12, 2026, including setting persist-credentials: false on checkout, and published the CVE on Dec 1, 2026. Repositories that copied the example triage workflows before then keep the vulnerable version until they update it themselves. Page: https://pwn.watch/i/gemini-cli-github-actions-triage-rce-cve-2026-85259 · generated 2026-12-05T01:33:12.767Z ## Status - Severity: critical · status: live · patch: patched - Product: Google Gemini CLI and run-gemini-cli GitHub Action (triage workflows) - Started: 2026-12-01 - CVEs: CVE-2026-85259 - Affected: Gemini CLI and run-gemini-cli GitHub Action triage workflows before 2026-05-12, including copies vendored into other repositories - Fixed in: Workflows as of 2026-05-12 (google-gemini/gemini-cli PR #26897, google-github-actions/run-gemini-cli PR #518) ## Follow this incident - RSS (one item per update): https://pwn.watch/i/gemini-cli-github-actions-triage-rce-cve-2026-85259/feed.xml - JSON Feed: https://pwn.watch/i/gemini-cli-github-actions-triage-rce-cve-2026-85259/feed.json - Full data (timeline, sources, posts, agentBrief): https://pwn.watch/i/gemini-cli-github-actions-triage-rce-cve-2026-85259.json - This file: https://pwn.watch/i/gemini-cli-github-actions-triage-rce-cve-2026-85259/llms.txt ## Updates (newest first) - 2026-12-01: Google publishes CVE-2026-85259 (CVSS 4.0 10.0) for the triage workflows; GitHub adds GHSA-g6vw-c6rx-j9ph. (https://github.com/advisories/GHSA-g6vw-c6rx-j9ph) - 2026-05-11: run-gemini-cli merges PR #518, setting persist-credentials: false across its Gemini workflows. (https://github.com/google-github-actions/run-gemini-cli/pull/518) ## Fix brief # Security brief: Gemini CLI / run-gemini-cli GitHub Actions triage workflows: unauthenticated RCE via issue text CVE-2026-85259 (CVSS 10) Source: https://pwn.watch/i/gemini-cli-github-actions-triage-rce-cve-2026-85259 · status: live · severity: critical · updated Dec 2, 2026, 15:49 UTC ## Patch status **PATCHED: fixed releases exist. Upgrade to a fixed version.** ## What it is CVE-2026-85259 (CVSS 4.0 10.0, CWE-78) is a code injection flaw in the automated issue-triage workflows shipped with Google's Gemini CLI and the run-gemini-cli GitHub Action. An unauthenticated attacker who opens a crafted GitHub issue on a repository using these workflows can execute commands on the runner or read sensitive files, such as tokens and secrets. Google fixed the workflows on May 12, 2026, including setting persist-credentials: false on checkout, and published the CVE on Dec 1, 2026. Repositories that copied the example triage workflows before then keep the vulnerable version until they update it themselves. Severity detail: CVSS 4.0 10.0 (Google CNA); unauthenticated, triggered by a GitHub issue; not known exploited - Product: Google Gemini CLI and run-gemini-cli GitHub Action (triage workflows) - CVE / advisory ids: CVE-2026-85259 ## Affected versions - Gemini CLI and run-gemini-cli GitHub Action triage workflows before 2026-05-12, including copies vendored into other repositories ## Check whether you're affected No generic command applies (the product is a hosted service, appliance or desktop app). Check the installed version in its admin UI / About screen and compare with the versions above. ## Fix Upgrade to one of these fixed versions (or later on the same branch): - Workflows as of 2026-05-12 (google-gemini/gemini-cli PR #26897, google-github-actions/run-gemini-cli PR #518) After upgrading, re-run the checks above and redeploy/restart the affected services. ## Secrets to rotate This incident involves possible credential exposure. Rotate any credentials (API keys, tokens, env vars, SSH keys) that were present on affected systems or in affected builds while vulnerable/compromised versions were installed, and review access logs. ## Specific notes Search .github/workflows for gemini-triage / gemini-scheduled-triage / gemini-invoke workflows and uses: google-github-actions/run-gemini-cli. Replace any copy taken before 2026-05-12 with the current upstream version. Pin the action to a commit SHA, set persist-credentials: false on actions/checkout, and keep issue titles and bodies out of shell run: steps; pass them through env vars instead. If a vulnerable workflow ran on public issues, rotate the repository's GEMINI_API_KEY, GitHub App keys and any other secrets it exposed. ## Latest updates - Dec 1, 2026: Google publishes CVE-2026-85259 (CVSS 4.0 10.0) for the triage workflows; GitHub adds GHSA-g6vw-c6rx-j9ph. - May 11, 2026: run-gemini-cli merges PR #518, setting persist-credentials: false across its Gemini workflows. ## Advisories - [GHSA-g6vw-c6rx-j9ph (CVE-2026-85259)](https://github.com/advisories/GHSA-g6vw-c6rx-j9ph) (GitHub) - [CVE-2026-85259 Detail](https://nvd.nist.gov/vuln/detail/CVE-2026-85259) (NVD) - [google-gemini/gemini-cli PR #26897](https://github.com/google-gemini/gemini-cli/pull/26897) (Google) - [google-github-actions/run-gemini-cli PR #518](https://github.com/google-github-actions/run-gemini-cli/pull/518) (Google) ## Caveats The CVE uses a date as its version boundary: workflows before 2026-05-12 are affected. GitHub's advisory is unreviewed and lists no package versions. --- Machine-readable: https://pwn.watch/i/gemini-cli-github-actions-triage-rce-cve-2026-85259.json · all incidents: https://pwn.watch/incidents.json. Verify against the vendor advisory before changing production systems.