CVE-2026-12537: Unauthenticated Remote Code Execution in Gemini CLI CI/CD Workflows

Published Jun 24, 2026
·
Updated

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 Software

5 affected components
Google Gemini CLI<0.39.1
run-gemini-cli GitHub Action<0.1.22
Google Gemini-cli Node.js<0.39.1
Google Gemini-cli Node.js=0.40.0-preview2
Google run-gemini-cli<0.1.22

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Google Gemini CLI (gemini) to a version that resolves this vulnerability.

    Fixed in 0.39.1
  2. Upgrade

    Upgrade run-gemini-cli GitHub Action to a version that resolves this vulnerability.

    Fixed in 0.1.22

Event History

Jun 24, 2026
CVE Published
via MITRE·01:37 PM
Data Sourced
via MITRE·01:37 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·02:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-12537?

CVE-2026-12537 has a severity rating of 91, indicating a high risk of exploitation.

2

How do I fix CVE-2026-12537?

To remediate CVE-2026-12537, update Google Gemini CLI to version 0.39.1 or later and the run-gemini-cli GitHub Action to version 0.1.22 or later.

3

What systems are affected by CVE-2026-12537?

CVE-2026-12537 affects Google Gemini CLI versions prior to 0.39.1 and run-gemini-cli GitHub Action versions prior to 0.1.22.

4

What type of vulnerability is CVE-2026-12537?

CVE-2026-12537 is categorized as an Unauthenticated Remote Code Execution vulnerability caused by improper neutralization of OS command input.

5

What can an attacker do with CVE-2026-12537?

An attacker exploiting CVE-2026-12537 can achieve pre-sandbox host-level code execution on vulnerable CI/CD systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203