Home / Google / Gemini CLI / CVE-2026-85259
CVE-2026-85259: is it exploited, and which versions of Google Gemini CLI are affected and fixed?
CVE-2026-85259 is an OS command injection vulnerability in Google Gemini CLI. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:08 UTC). Affected: Gemini CLI before 2026-05-12 and run-gemini-cli GitHub Action before 2026-05-12 (CVE record by GoogleCloud). Fixed in 2026-05-12 (CVE record by GoogleCloud). Severity: Critical (10.0, CVSS 4.0, from GoogleCloud).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:08 UTC, CVE record December 2, 2026, 17:02 UTC and NVD December 2, 2026, 20:13 UTC.
What is 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.
From the CVE record by GoogleCloud, last updated December 2, 2026, 15:49 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Gemini CLI | before 2026-05-12 | 2026-05-12 | |
| run-gemini-cli GitHub Action | before 2026-05-12 | 2026-05-12 |
As the CVE record by GoogleCloud states it, last updated December 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-85259?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 10.0 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/U:Amber | GoogleCloud |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-85259 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, December 2, 2026)
- EPSS
- 0.50% probability of exploitation activity in the next 30 days, percentile 44.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
How do I fix it? (from the CVE record)
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.
Where are the vendor advisories and references?
- https://github.com/google-github-actions/run-gemini-cli/pull/518 patch
- https://github.com/google-gemini/gemini-cli/pull/26897 patch
Who found and reported it?
- Dan Lisichkin (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 3, 2026
- Published
- December 1, 2026, 20:22 UTC
- CVE record updated
- December 2, 2026, 15:49 UTC by GoogleCloud
- NVD
- Awaiting Analysis, last modified December 2, 2026, 19:52 UTC
- Last checked
- CVE list December 2, 2026, 17:02 UTC; NVD December 2, 2026, 20:13 UTC; KEV December 3, 2026, 06:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-85259
Is CVE-2026-85259 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:08 UTC. FIRST's EPSS gives it a 0.50% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Google Gemini CLI are affected by CVE-2026-85259?
Gemini CLI before 2026-05-12 and run-gemini-cli GitHub Action before 2026-05-12, per the CVE record by GoogleCloud. The tables above give every range the sources list.
Which version fixes CVE-2026-85259?
2026-05-12, per the CVE record by GoogleCloud. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-85259?
Critical (10.0, CVSS 4.0, from GoogleCloud). The severity table above shows each score with its source.
Where is the official record of CVE-2026-85259?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.