CVE-2026-12537

Severity CVSS v4.0:
CRITICAL
Type:
CWE-20 Input Validation
Publication date:
24/06/2026
Last modified:
02/07/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:google:gemini-cli:*:*:*:*:*:node.js:*:* 0.39.1 (excluding)
cpe:2.3:a:google:gemini-cli:0.40.0:preview2:*:*:*:node.js:*:*
cpe:2.3:a:google:run-gemini-cli:*:*:*:*:*:*:*:* 0.1.22 (excluding)