A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /google-gemini/gemini-cli/releases/tag/v0.39.1
- www.pwned.info /articles/homing-in-on-arbitrary-code-execution-within-gemi…
- www.redguard.ch /blog/2026/06/03/advisory-google-gemini-cli/
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning