RCE in Google Gemini-Cli
CVE-2026-12537
Improper Neutralization used in an OS Command in the container launcher in Google Gemini CLI (versions prior to 0.39.1) and run-gemini-cli GitHub Action (versions prior to 0.1.22) on headless CI platforms allows an unprivileged attacker to achieve pre-sandbox host-level code execution a maliciously crafted .gemini/.env file.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.002 (10.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 10th percentile — 10.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000
Affected products
- Google Gemini-Cli — versions 0.40.0
- Google Run-Gemini-Cli
- Google Cloud Gemini Cli — versions 0
- Google Cloud Run-Gemini-Cli GitHub Action — versions 0
Weakness classification (CWE)
References
- f45cbf4e-4146-4068-b7e1-655ffc2c548c (Patch, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-12537?
- CVE-2026-12537 is a high-severity vulnerability in Google Gemini-Cli, classified under Improper Input Validation. CVSS score: 7.8/10. Published 2026-06-24.
- How severe is CVE-2026-12537?
- High severity. CVSS v3 base score is 7.8 out of 10.