CVE-2026-13745
HIGH 7.7CVSS 4.0A 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.
- Published
- 10 Sep 2026
- Last modified
- 23 Sep 2026
- Assigned by
- f45cbf4e-4146-4068-b7e1-655ffc2c548c
- NVD status
- Awaiting Analysis
- Weakness
- CWE-15
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | f45cbf4e-4146-4068-b7e1-655ffc2c548c (Secondary) | CVSS 4.0 | HIGH 7.7 | 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 |
References
- https://github.com/google-gemini/gemini-cli/releases/tag/v0.39.1
- https://www.pwned.info/articles/homing-in-on-arbitrary-code-execution-within-gemini-cli/
- https://www.redguard.ch/blog/2026/06/03/advisory-google-gemini-cli/
History
- 25 Nov 2026 21:05 UTC ยท NVD: first stored (published 10 Sep 2026)