Skip to main content
VulnerabilityPublished

CVE-2026-12537: Google Cloud Gemini CLI · Improper Input Validation

Affects Google Cloud Gemini CLISource CVE Database V5

0
Compare

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

CVSS 4.0 base score
10.0Critical
How severe the flaw is on the 0–10 CVSS scale.
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:Clear

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Google CloudGemini CLIAffected
  • <0.39.1
Fixed in
  • 0.39.1
Google Cloudrun-gemini-cli GitHub ActionAffected
  • <0.1.22
Fixed in
  • 0.1.22
GitHubgoogle-github-actions/run-gemini-clipkg:github/google-github-actions/run-gemini-cliOther threatsAffected
  • <0.1.22
Fixed in
  • 0.1.22

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.

References

Community reviews

Loading reviews…