CVE-2026-12537
Unauthenticated Remote Code Execution in Gemini CLI CI/CD Workflows
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.
INFO
Published Date :
June 24, 2026, 2:17 p.m.
Last Modified :
July 2, 2026, 7:46 p.m.
Remotely Exploit :
Yes !
Source :
f45cbf4e-4146-4068-b7e1-655ffc2c548c
Affected Products
The following products are affected by CVE-2026-12537
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 4.0 | CRITICAL | f45cbf4e-4146-4068-b7e1-655ffc2c548c | ||||
| CVSS 4.0 | CRITICAL | f45cbf4e-4146-4068-b7e1-655ffc2c548c |
Solution
- Update Google Gemini CLI to version 0.39.1 or later.
- Update run-gemini-cli GitHub Action to version 0.1.22 or later.
Public PoC/Exploit Available at Github
CVE-2026-12537 has a 2 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-12537.
| URL | Resource |
|---|---|
| https://github.com/google-github-actions/run-gemini-cli/security/advisories/GHSA-wpqr-6v78-jr5g | Vendor Advisory Patch |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-12537 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-12537
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
nullius in verba — take nobody's word for it. Mechanical evidence gates for LLM coding agents: per-batch push consent, destructive-command guard, claim gating, stall & fabrication sentinels. Python stdlib only.
agent-safety ai-safety claude-code coding-agents evidence guardrails hooks llm-agents
Python Shell TeX HTML Makefile Fortran Roff C
The Project shares all information on MCP related CVE's published
mcp mcp-security mcp-cve
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-12537 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-12537 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 02, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Added CWE CWE-78 Added CPE Configuration OR *cpe:2.3:a:google:run-gemini-cli:*:*:*:*:*:*:*:* versions up to (excluding) 0.1.22 *cpe:2.3:a:google:gemini-cli:*:*:*:*:*:node.js:*:* versions up to (excluding) 0.39.1 *cpe:2.3:a:google:gemini-cli:0.40.0:preview2:*:*:*:node.js:*:* Added Reference Type GoogleCloud: https://github.com/google-github-actions/run-gemini-cli/security/advisories/GHSA-wpqr-6v78-jr5g Types: Patch, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 24, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-12537', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-06-24T13:52:11.782979Z'} -
New CVE Received by f45cbf4e-4146-4068-b7e1-655ffc2c548c
Jun. 24, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'Google Cloud', 'product': 'Gemini CLI', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': '0.39.1', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}, {'vendor': 'Google Cloud', 'product': 'run-gemini-cli GitHub Action', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': '0.1.22', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}] 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. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Clear Added CWE CWE-20 Added Reference https://github.com/google-github-actions/run-gemini-cli/security/advisories/GHSA-wpqr-6v78-jr5g