CVE-2026-12537: Google Cloud Gemini CLI · Improper Input Validation
Affects Google Cloud Gemini CLISource CVE Database V5
Not known to be exploited · CVSS 10.0 Critical : upgrade to 0.39.1 as a priority.
Data as of 6 Nov 2026, 23:24 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.39.1, 0.1.22
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:ClearExploitation evidence
Disclosed: evidence found.
CVE published 24 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Nov 2026.
What to do
Upgrade Gemini CLI to 0.39.1; run-gemini-cli GitHub Action and google-github-actions/run-gemini-cli to 0.1.22.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Google CloudGemini CLI | Affected
| Fixed in
|
| Google Cloudrun-gemini-cli GitHub Action | Affected
| Fixed in
|
GitHubgoogle-github-actions/run-gemini-clipkg:github/google-github-actions/run-gemini-cliOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available for this vulnerability. Users should upgrade Google Cloud Gemini CLI to version 0.39.1 or later and run-gemini-cli GitHub Action to version 0.1.22 or later to remediate the issue. Since this is a cloud service component, the vendor manages remediation for the cloud-hosted service; users should verify they are running updated versions.
Description
CVE-2026-12537 is a critical vulnerability in Google Cloud Gemini CLI and the run-gemini-cli GitHub Action that allows an unprivileged attacker to execute code on the host system. This occurs due to improper input validation leading to OS command injection via a maliciously crafted .gemini/.env file on headless CI platforms. The vulnerability affects Gemini CLI versions prior to 0.39.1 and run-gemini-cli GitHub Action versions prior to 0.1.22. A patch is available to address this issue.