CVE-2026-12537 Affecting gemini-cli package, versions <0.40.1-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.21% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-GEMINICLI-20145124
  • published26 Sept 2026
  • disclosed24 Jun 2026

Introduced: 24 Jun 2026

CVE-2026-12537  (opens in a new tab)

How to fix?

Upgrade Chainguard gemini-cli to version 0.40.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gemini-cli package and not the gemini-cli package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.