Home › CVE › DevOps / CI
CVE-2026-85259 — Google Gemini CLI
Research article
Code Injection Flaw in Google Gemini CLI Allows Remote Command Execution
| CVE | CVE-2026-85259 |
|---|---|
| Vendor and product | Google Gemini CLI; Google run-gemini-cli GitHub Action |
| Published | December 01, 2026 22:10 UTC |
| Research cut-off | December 01, 2026 22:01 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-12-01); CISA KEV catalog |
Executive summary
A vulnerability in the automated triage workflows of Google Gemini CLI and its GitHub Action version prior to 2026-05-12 enables unauthenticated attackers to run arbitrary commands or access sensitive files via crafted inputs [1]. The CVSS 4.0 score is 10.0, CRITICAL, with a vector indicating network-based access and full impact on confidentiality, integrity, and availability [1]. The reviewed sources do not confirm any known exploitation [2]. Prompt remediation is essential to update to the patched versions.
Key points
- A Code Injection vulnerability in Google Gemini CLI and run-gemini-cli GitHub Action versions before 2026-05-12 allows unauthenticated attackers to run arbitrary commands or access sensitive files [1].
- The CVSS 4.0 score is 10.0, CRITICAL, with a vector indicating network-based access and full impact on confidentiality, integrity, and availability [1].
- The reviewed sources do not confirm any known exploitation [2].
- Prompt remediation is essential to update to the fixed versions of the affected products [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 4.0 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-85259 | Gemini CLI and run-gemini-cli GitHub Action | CWE-78 | 10.0 CRITICAL | 2026-12-01 | 2026-12-01 | Received |
Vulnerability description
The automated triage workflows in the Google Gemini CLI and its associated GitHub Action contain a flaw that allows attackers to inject malicious code through specially crafted inputs. This enables unauthorized execution of commands or access to sensitive files without requiring authentication [1].
Attack surface and exploitation prerequisites
The vulnerability can be triggered remotely without user interaction. Attackers can use crafted GitHub issue inputs to target the flaw [1].
Impact analysis
The CVSS 4.0 vector indicates that the flaw has complete impact on confidentiality, integrity, and availability. The CVSS 4.0 vector indicates high impact on confidentiality, integrity and availability [1]; the record describes command execution or reading sensitive files [1].
Affected products and versions
| Product | Affected Version | Fixed Version |
|---|---|---|
| Google Gemini CLI | < 2026-05-12 | 2026-05-12 |
| Google run-gemini-cli GitHub Action | < 2026-05-12 | 2026-05-12 |
Exploitation and threat intelligence status
CVE-2026-85259 is not included in the CISA Known Exploited Vulnerabilities Catalog as of 2026-12-01. This absence does not confirm or deny whether the flaw has been exploited [2].
Detection and exposure assessment
To assess exposure, verify if the installed version of Google Gemini CLI or run-gemini-cli GitHub Action is within the vulnerable range [1].
Remediation
The vulnerability is fixed in 2026-05-12 for both the Google Gemini CLI and run-gemini-cli GitHub Action [1].
Remediation checklist
- Upgrade Google Gemini CLI to version 2026-05-12 or later.
- Update the run-gemini-cli GitHub Action to version 2026-05-12 or later.
- Review GitHub issue submissions for any suspicious activity.
- Monitor system logs for unauthorized command execution or file access.
Evidence gaps
- The sources do not describe the technical mechanics of the flaw.
- The sources do not mention any indicators of compromise.
- The sources do not provide a workaround or compensating control.
- The sources do not describe the internal workings of the affected component.
References
- CVE-2026-85259 record. NIST National Vulnerability Database (NVD), 2026-12-01. https://nvd.nist.gov/vuln/detail/CVE-2026-85259. Accessed 2026-12-01.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-01. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-01.
Summary
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.
Severity breakdown
Critical · 10.0
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- no
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- high on confidentiality, integrity and availability
Weakness
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Google Gemini CLI | < 2026-05-12 | 2026-05-12 |
| Google run-gemini-cli GitHub Action | < 2026-05-12 | 2026-05-12 |
References by type
Patches and fixed releases
Affected
- Google Gemini CLI
- Google run-gemini-cli GitHub Action
Frequently asked questions
What is CVE-2026-85259?
A vulnerability in the automated triage workflows of Google Gemini CLI and its GitHub Action version prior to 2026-05-12 enables unauthenticated attackers to run arbitrary commands or access sensitive files via crafted inputs. The CVSS 4.0 score is 10.0, CRITICAL, with a vector indicating network-based access and full impact on confidentiality, integrity, and availability. Weakness type: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CWE-78).
How severe is CVE-2026-85259?
CVE-2026-85259 has a CVSS 4.0 base score of 10.0 (critical), from the CNA. An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-85259 being exploited?
Not as far as is known: CVE-2026-85259 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-85259?
Google Gemini CLI < 2026-05-12 (fixed in 2026-05-12); Google run-gemini-cli GitHub Action < 2026-05-12 (fixed in 2026-05-12).
How do I fix CVE-2026-85259?
Upgrade Google Gemini CLI to version 2026-05-12 or later. Update the run-gemini-cli GitHub Action to version 2026-05-12 or later. Review GitHub issue submissions for any suspicious activity.
Timeline & sources
- NVD: CVE-2026-85259 — Google Gemini CLI
- SOCRadar: Gemini CLI CVE-2026-85259: CVSS 10 Flaw in GitHub Triage Workflows
- Cybersecurity News: Critical Gemini CLI Vulnerability Lets Hackers Run Malicious Commands Without Login
References
Related vulnerabilities & news
- Google Releases Chrome Stable 159 Update for iOS With Stability Fixes
- Google Patches Android Video Decoder and IMS Bugs Enabling Zero-Click RCE
- Java4Shell flaw in OpenJDK's compiler component threatens apps like Jenkins, Confluence
- Google Introduces New Android Protection to Stop Hackers From Exploiting Phone Calls
- Google Patches 229 Chrome Flaws, 21 Rated Critical