CVE-2026-12537: Google Gemini-CLI

High severity, CVSS 7.8. EPSS: 0.2% chance of exploitation in the next 30 days.

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.

Affected products

  • Google Gemini-CLI: before 0.39.1 (fixed in 0.39.1); version 0.40.0 only
  • Google Run-Gemini-CLI: before 0.1.22 (fixed in 0.1.22)

Published 2026-06-24. Last modified 2026-07-02.