Arbitrary Code Execution in Gemini CLI by Google
CVE-2026-13745
9.2CRITICAL
What is CVE-2026-13745?
A security issue in the Gemini CLI and its associated GitHub Action allows an unprivileged attacker to execute arbitrary code. This is facilitated through untrusted local .env files that can override the GEMINI_CLI_HOME variable, potentially leading to unauthorized actions within the environment. Users are advised to implement immediate corrective measures to mitigate the risks associated with this vulnerability.
Affected Version(s)
Gemini CLI 0 < 0.39.1
run-gemini-cli GitHub Action 0 < 0.1.22
