Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-12537: Improper Neutralization used in an OS Command in the container launcher in Google Gemini CLI (versions prior t

30
Routine
HIGH 7.8UPGRADEUPGRADE

CVE-2026-12537 is a high-severity flaw (CVSS 7.8) affecting gemini-cli, run-gemini-cli. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • High severity

A fixed release or distro patch exists.

Risk facts

CVSS score7.8 (High)
Attack vectorLocal
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.2% (top 89%)
CISA exploited listNo
WeaknessCWE-20, CWE-78
Published2026-06-24
Last modified2026-07-02
Publisher (CNA): GoogleCloud · Vendor: google

Share: LinkedIn · X · Reddit

Last updated 2026-07-02 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

google gemini-cli UPGRADE
Affected: < 0.39.1 · 0.40.0 preview2
Fixed in: 0.39.1
Safe to downgrade to: no unaffected older release
1. Check installed version
npm ls gemini-cli
2. UPGRADE to 0.39.1
npm install gemini-cli@">=0.39.1"
google run-gemini-cli UPGRADE
Affected: < 0.1.22
Fixed in: 0.1.22
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy run-gemini-cli || rpm -q run-gemini-cli || run-gemini-cli --version
2. UPGRADE to 0.1.22 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade run-gemini-cli
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade run-gemini-cli
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-12537?

gemini-cli: upgrade to 0.39.1; run-gemini-cli: upgrade to 0.1.22. Exact commands for each OS are on this page.

Is CVE-2026-12537 being exploited?

CVE-2026-12537 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-12537 affect?

CVE-2026-12537 affects gemini-cli, run-gemini-cli. Severity is high (CVSS 7.8). 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

How urgent is CVE-2026-12537?

Priority 30/100. High severity

Software pages

GitHub vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.