Vulnerability
CVE-2026-12537
Improper Neutralization used in an OS Command in the container launcher in Google Gemini CLI (versions prior to 0.39.1) and run-gemini-cli GitHub Action (versions prior to 0.1.22) on headless CI platforms allows an unprivileged attacker to achieve pre-sandbox host-level code execution a maliciously crafted .gemini/.env file.
5 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-7jp5-q639-7cqr
- CGA-f25m-22vg-c5w3
- CGA-fqjw-233j-c7xm
- CGA-hp4m-7hr8-5c44
-
GHSA-wpqr-6v78-jr5g
Gemini CLI: Remote Code Execution via workspace trust and tool allowlisting bypasses