7.7
High
CVE-2026-13745 A vulnerability in the Gemini CLI prior to version 0.39.1 allows attackers to achieve arbitrary code execution by…
Description
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 and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Gemini CLI 0.39 | earliest → < 0.39.1 | 0.39.1 |
| run-gemini-cli GitHub Action 0.1 | earliest → < 0.1.22 | 0.1.22 |
References
- github.com github.com
- www.redguard.ch www.redguard.ch
- www.pwned.info www.pwned.info
Timeline
- Published
- Last modified