Skip to content
OpenAdvisories
Critical · 10.0 CVE-2026-12537 EUVD-2026-38790GHSA-jj69-4grx-fqj5GHSA-wpqr-6v78-jr5g

Unauthenticated Remote Code Execution in Gemini CLI CI/CD Workflows

Published Jun 24, 2026 · Updated Jun 24, 2026 · Assigned by GoogleCloud

Description

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

VendorProductAffectedFixed
Google Cloud Gemini CLI < 0.39.1 0.39.1
Google Cloud run-gemini-cli GitHub Action < 0.1.22 0.1.22

Affected packages

EcosystemPackageAffectedFixedRecord
GitHub Actions google-github-actions/run-gemini-cli < 0.1.22 0.1.22 GHSA-wpqr-6v78-jr5g
npm @google/gemini-cli < 0.39.1 0.39.1 GHSA-wpqr-6v78-jr5g
npm @google/gemini-cli >= 0.40.0-preview.2, < 0.40.0-preview.3 0.40.0-preview.3 GHSA-wpqr-6v78-jr5g

References