# CVE-2026-12537 — Google Cloud Gemini CLI

> As of 2026-07-11, CVE-2026-12537 is a Critical-severity (band derived from the CVSS v4.0 score, not stated by the CNA) vulnerability in Google Cloud Gemini CLI, CVSS v4.0 10, EPSS 0.2% (10.5th percentile). Threadlinqs Intelligence links 1 tracked threat campaign to CVE-2026-12537, most recently “Critical Gemini CLI Vulnerability (CVE-2026-12537) Enables Remote Code Execution via Malicious .env Workspace Trust Bypass”.

**Last updated:** 2026-07-11

## What is CVE-2026-12537?

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.

The record classifies CVE-2026-12537 under weakness class [CWE-20](https://intel.threadlinqs.com/cwe/CWE-20). 2 affected-product entries are recorded, across 1 vendor, listed below. The identifier was first published 148 days ago.

## Severity and exploitation probability

- **CVSS v4.0 base score:** 10 — Critical (derived from score) (`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`)
- **EPSS (FIRST):** 0.2% probability of exploitation in the next 30 days, higher than 10.5% of all scored CVEs
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 5.4/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2026-06-24

## Is CVE-2026-12537 being exploited?

It currently carries a trending score of 11 in the Threadlinqs vulnerability feed.

## Affected products and versions

- **Google Cloud**: Gemini CLI, run-gemini-cli GitHub Action

## How to fix CVE-2026-12537

No vendor patch reference has been recorded for CVE-2026-12537 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.

## Threat activity tracking CVE-2026-12537

1 tracked threat in the Threadlinqs corpus references CVE-2026-12537, either in the campaign’s CVE list or as an indicator on the campaign record.

- [Critical Gemini CLI Vulnerability (CVE-2026-12537) Enables Remote Code Execution via Malicious .env Workspace Trust Bypass](https://intel.threadlinqs.com/threat/TL-2026-1206) — CRITICAL · 2026-07-11

## Sources

Enriched from CVE.org, FIRST EPSS.

**Other references**

- [github.com](https://github.com/google-github-actions/run-gemini-cli/security/advisories/GHSA-wpqr-6v78-jr5g)

Canonical: https://intel.threadlinqs.com/cve/CVE-2026-12537
Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Sign up free (Blue): https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds (https://threadlinqs.com/tl-creds); MCP access for AI agents needs Purple: https://intel.threadlinqs.com/mcp
