Skip to main content
← All vulnerabilities
CVE-2026-12537GHSA-WPQR-6V78-JR5G

Unauthenticated Remote Code Execution in Gemini CLI CI/CD Workflows

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.39.1, 0.1.22, 0.40.0-preview.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • Google Cloud Gemini CLI

    fixed in 0.39.1

  • Google Cloud run-gemini-cli GitHub Action

    fixed in 0.1.22

  • @google/gemini-clinpm

    fixed in 0.39.1

  • @google/gemini-clinpm

    From 0.40.0-preview.2 · fixed in 0.40.0-preview.3

  • google-github-actions/run-gemini-cliGitHub Actions

    fixed in 0.1.22

References 1

GitHub · google-github-actions/run-gemini-cli