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.
CVSS
No CVSS.
References
Configurations
No configuration.
History
23 Sep 2026, 10:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
|
| CWE | CWE-20 |
CWE-829 CWE-15 |
| Summary | (en) 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. |
10 Sep 2026, 09:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-09-10 09:17
Updated : 2026-09-23 10:17
NVD link : CVE-2026-13745
Mitre link : CVE-2026-13745
CVE.ORG link : CVE-2026-13745
JSON object : View
Products Affected
No product.
