Live threats

All CVEs / Google

CVE-2026-12537Google Gemini-cli

Critical 10.0 No auth needed

Priority
75
CVSS 4.0
10.0
EPSS
—
Auth required
No
Published
Jun 24, 2026
Updated
Jul 2, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-78
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gemini-cli.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
GitHub Actions google-github-actions/run-gemini-cli < 0.1.22 0.1.22 —
npm @google/gemini-cli < 0.39.1 0.39.1 npm install @google/gemini-cli@0.39.1
npm @google/gemini-cli ≥ 0.40.0-preview.2 < 0.40.0-preview.3 0.40.0-preview.3 npm install @google/gemini-cli@0.40.0-preview.3

Per OSV / GitHub Advisories (GHSA-wpqr-6v78-jr5g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
googlegemini-cli< 0.39.1
googlegemini-cli0.40.0
googlerun-gemini-cli< 0.1.22

Official sources

References

Links published by the sources. Open them with care.