CVE-2026-12537

Unauthenticated Remote Code Execution in Gemini CLI CI/CD Workflows

Published Jun 24, 2026 CVSS 4.0 · 10 Critical EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Solution

Ensure you are using the latest version of gemini cli and follow the best practices guide https://github.com/google-github-actions/run-gemini-cli/blob/main/docs/trust-guidance.md .

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-wpqr-6v78-jr5g Gemini CLI: Remote Code Execution via workspace trust and tool allowlisting bypasses
History
Type Values Removed Values Added
First Time appeared Google Cloud
Google Cloud gemini Cli
Google Cloud run-gemini-cli Github Action
Vendors & Products Google Cloud
Google Cloud gemini Cli
Google Cloud run-gemini-cli Github Action
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Unauthenticated Remote Code Execution in Gemini CLI CI/CD Workflows
Weaknesses CWE-20
References
Metrics cvssV4_0

{'score': 10, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/U:Clear'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GoogleCloud
Published
Updated
Jun 24, 2026, 1:53 PM
Reserved
Jun 17, 2026, 3:08 PM
Status
Analyzed
Published
Jun 24, 2026, 2:17 PM
Modified
Jul 2, 2026, 7:46 PM