CVE-2026-12537
No exploitation reported by the sources we read.
- Published2026-06-24
- Fixed in0.40.0-preview.3 · 0.39.1
- WeaknessCWE-20 · CWE-78
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-06-2414:17CVE publishedNVD
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.40 | ≥ 0.40.0-preview.2, < 0.40.0-preview.3 | 0.40.0-preview.3 | OSV |
| 0.39 | < 0.39.1 | 0.39.1 | NVD · OSV |
| 0.40 | = 0.40.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.1 | < 0.1.22 | 0.1.22 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA2 products
As GoogleCloud, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Google Cloud Gemini CLIother versions: not affectedAffected
- < 0.39.1fixed in 0.39.1custom
- Google Cloud run-gemini-cli GitHub Actionother versions: not affectedAffected
- < 0.1.22fixed in 0.1.22custom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-06-24
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- gemini-cliChainguardall versions · fixed in 0.40.1-r0
Fix
- Update Google gemini-cli to 0.40.0-preview.3 · 0.39.1
Advisories and patches
- github.comVendor Advisory · Patch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-01
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-06-24
- CNACVSS 4.010known since 2026-10-23
- NVDCVSS 3.17.8read 2026-10-23
- CNAweakness (CWE)CWE-20known since 2026-10-23
- NVDweakness (CWE)CWE-78read 2026-10-23
- FIRST EPSSEPSS score3.2 %2026-12-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCritical2026-04-24
Identifiers
- CGA-7jp5-q639-7cqrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f25m-22vg-c5w3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-fqjw-233j-c7xmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-hp4m-7hr8-5c44same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2026-38790same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-jj69-4grx-fqj5same flawGitHub Advisory Database · CC-BY-4.0
- GHSA-wpqr-6v78-jr5gsame flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 4.0 vector
- 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/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
- Published
- 2026-06-24
- Last modified
- 2026-07-02
- NVD status
- Analyzed
- GitHub advisory
- GHSA-jj69-4grx-fqj5 GHSA-wpqr-6v78-jr5g
Frequently asked questions
What is CVE-2026-12537?
Is CVE-2026-12537 actively exploited?
What is the CVSS score for CVE-2026-12537?
Running @google/gemini-cli? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2025-68154same product
- CVE-2026-126346same productbasic-ftp: Uncaught exception crashes the Node.js process when a password (or resumed-download path) contains CR/LF
- CVE-2026-48779same product
- CVE-2026-9277same product
- CVE-2026-12143same product
- CVE-2024-37890same product
- CVE-2026-26280same product
- CVE-2026-1526same product
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-jj69-4grx-fqj5, GHSA-wpqr-6v78-jr5g
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0