CVEs / CVE-2026-13745
CVE-2026-13745
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.
Affected products · 1
| Product | Versions affected | Fixed in |
|---|---|---|
| Google: Gemini CLI | not stated by CPE | — |
Versions as NVD's CPE configuration states them; "—" means the record gives no fixed version, not that none exists. Check the vendor's advisory in the references.
In this registry
- Gemini CLI — agent dossier
References · 3
- github.com/google-gemini/gemini-cli/releases/tag/v0.39.1
- www.pwned.info/articles/homing-in-on-arbitrary-code-execution-within-gemini-cli/
- www.redguard.ch/blog/2026/06/03/advisory-google-gemini-cli/
The official record's references, as NVD lists them, minus any tagged Exploit. Nothing here is an exploit or a proof of concept.
Description, scores, versions and references are the official CVE record's own, retrieved 2026-10-25 from NVD. Category, attack surface and cross-links are this registry's classification and can be wrong — use the button above. Not a severity assessment for your deployment.