CVEvulnerability

CVE-2026-13745

7.7 HIGH Published 2026-09-10 Modified 2026-09-23 Official page ↗
Status
Awaiting Analysis
Published
2026-09-10
Last modified
2026-09-23
Assigner
f45cbf4e-4146-4068-b7e1-655ffc2c548c
CVSS 4.0 (f45cbf4e-4146-4068-b7e1-655ffc2c548c)
7.7 HIGH — CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber
Weaknesses
CWE-15, CWE-829

Description

A vulnerability in the Gemini CLI prior to version 0.39.1 allows attackers to achieve arbitrary code execution by tricking a victim into starting the CLI within an untrusted directory. The vulnerability is triggered via untrusted .env files overriding GEMINI_CLI_HOME to load malicious configuration files and bypass folder trust prompts.

Related

Weakness · CWE (2)

  • CWE-15 External Control of System or Configuration Setting weakness
  • CWE-829 Inclusion of Functionality from Untrusted Control Sphere weakness

References