CVE-2026-12537: Unauthenticated Remote Code Execution in Gemini CLI CI/CD Workflows
Vulnerability summary
CVE-2026-12537 is a critical (CVSS 10.0) Improper Input Validation vulnerability in google cloud gemini cli. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11.6% of scored vulnerabilities.
Severe, CVSS 10 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 20-11-2026)
Source freshness unavailable
How is this decided?Timeline
- 24-06-2026PublishedVulnerability first disclosed.
- 24-06-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- NVDNIST10.0CriticalCVSS:4.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
- OSV · ChainguardEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HDiffers
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.21% on 21-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-78Improper Neutralization of Special Elements used in an OS CommandThe product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command before it is sent to a downstream component.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Google2 products
- gemini-cli< 0.39.1 | 0.40.0:preview2
- run-gemini-cli< 0.1.22
Google cloud2 products
- gemini cli< 0.39.1
- run-gemini-cli github action< 0.1.22
@google1 product
- gemini-cli< 0.39.1 | ≥ 0.40.0-preview.2, < 0.40.0-preview.3
Chainguard1 product
- gemini-cli< 0.40.1-r0
GitHub Actions1 product
- google-github-actions/run-gemini-cli< 0.1.22 | < f77273f4c914e4bf38440cf36a0369cb64a37489
5 vendors · 7 products
References
3 links- github.com/google-github-actions/run-gemini-cli/security/advisories/GHSA-wpqr-6v78-jr5gWEBVendor AdvisoryPatchFIX