High severity · published Jun 24, 2026
CVE-2026-12537
Unauthenticated Remote Code Execution in Gemini CLI CI/CD Workflows
7.8
CVSS
0.2%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 11% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GC
Gemini CLI · Google Cloud
before 0.39.1 · source: vendor
RG
run-gemini-cli GitHub Action · Google Cloud
before 0.1.22 · source: vendor
GE
Gemini-cli · Google
before 0.39.1; 0.40.0 · source: NVD
RU
Run-gemini-cli · Google
before 0.1.22 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-12537
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-12537
Vendor Advisory
https://github.com/google-github-actions/run-gemini-cli/security/advisories/GHSA-wpqr-6v78-jr5g
More from Gemini CLI
7.7
CVE-2026-13745
Arbitrary Code Execution in Gemini CLI via Untrusted Local .env Files Overriding GEMINI_CLI_HOME
