CVE-2026-13745

CRITICAL CVSS 4.0: 7.7 EPSS 0.65%
Updated Sep 23, 2026
GitHub
Parameter Value
CVSS 7.7 (CRITICAL)
Affected Versions before 0.39.1
Type CWE-78 (OS Command Injection), CWE-15 (External Control of System Setting), CWE-20 (Improper Input Validation), CWE-829 (Inclusion of Functionality from Untrusted Source)
Vendor GitHub
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Vulnerable Products

google cloud:gemini cli google cloud:run-gemini-cli github action