Skip to main content
CVE-2026-13745VulnerabilityPublished 09/10/2026

CVE-2026-13745: Google Cloud Gemini CLI · Improper input validation

Affects Google Cloud Gemini CLISource GCVE Database

0

Not known to be exploited · CVSS 9.2 Critical · patch available : patch Google Cloud Gemini CLI as a priority.

Data as of 10/25/2026, 16:58:55 UTC

CVSS 4.0 base score
9.2Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/U:Amber

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: 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 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
Google Cloud Gemini CLIAffected
  • =0
  • <0.39.1
Fixed in
  • 0.39.1

AI-suggested

A patch is available for this vulnerability. Since Gemini CLI is a cloud service managed by Google, remediation is handled server-side by the vendor. Users should ensure they are running version 0.39.1 or later. No additional mitigation steps are indicated by the vendor advisory.

Description

CVE-2026-13745 is a critical vulnerability in Google Cloud Gemini CLI versions prior to 0.39.1. It allows attackers to achieve arbitrary code execution by tricking users into running the CLI in an untrusted directory. The attack exploits improper input validation where untrusted .env files can override the GEMINI_CLI_HOME environment variable, causing malicious configuration files to be loaded and bypassing folder trust prompts.

Impact

Successful exploitation allows an attacker to execute arbitrary code on the victim's system without user interaction, by leveraging untrusted environment files and bypassing folder trust mechanisms. This can lead to full compromise of the environment where the Gemini CLI is run.

Weaknesses

References

Community reviews

Loading reviews…