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 |
|---|---|---|
| CWE | CWE-78 |
CWE-15 CWE-829 |
| References |
|
|
| 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. |
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.
