Unauthenticated Remote Code Execution and Credential Exfiltration in Gemini CLI GitHub Actions Triage Workflows
Summary
| CVE | CVE-2026-85259 |
|---|---|
| State | PUBLISHED |
| Assigner | GoogleCloud |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-01 21:17:22 UTC |
| Updated | 2026-12-01 21:17:22 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v4.0 10 CRITICAL from f45cbf4e-4146-4068-b7e1-655ffc2c548c
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber
Problem Types: CWE-78 | CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | f45cbf4e-4146-4068-b7e1-655ffc2c548c | Secondary | 10 | CRITICAL | 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/E:X/C... |
| 4.0 | CNA | CVSS | 10 | CRITICAL | 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 |
CVSS v4.0 Breakdown
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Gemini CLI | affected 2026-05-12 date | Not specified | |
| CNA | Run-gemini-cli GitHub Action | affected 2026-05-12 date | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/google-github-actions/run-gemini-cli/pull/518 | f45cbf4e-4146-4068-b7e1-655ffc2c548c | github.com | |
| github.com/google-gemini/gemini-cli/pull/26897 | f45cbf4e-4146-4068-b7e1-655ffc2c548c | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Dan Lisichkin (en)
Additional Advisory Data
Solutions
CNA: 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.