CVE-2026-13745
A vulnerability in the Gemini CLI and associated GitHub Action …
A vulnerability in the Gemini CLI and associated GitHub Action allowed an unprivileged attacker to achieve an arbitrary code execution in Gemini CLI via untrusted local .env files overriding GEMINI_CLI_HOME.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/google-github-actions/run-gemini-cli/releases/tag/v0.1.22
- github.com/google-github-actions/run-gemini-cli/security/advisories/GHSA-wpqr-6v78-jr5g
- 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/
- nvd.nist.gov/vuln/detail/CVE-2026-13745
- cve.org/CVERecord?id=CVE-2026-13745
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.