CVE-2026-12537

CRITICAL CVSS 4.0: 10.0 EPSS 0.21%
Updated Jul 02, 2026
Google
Parameter Value
CVSS 10.0 (CRITICAL)
Affected Versions before 0.39.1
Fixed In 0.39.1
Type CWE-20 (Improper Input Validation), CWE-78 (OS Command Injection)
Vendor Google
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Vulnerable Products 3

Configuration From (including) Up to (excluding)
Google Gemini-Cli
cpe:2.3:a:google:gemini-cli:*:*:*:*:*:node.js:*:*
— 0.39.1
Google Gemini-Cli
cpe:2.3:a:google:gemini-cli:0.40.0:preview2:*:*:*:node.js:*:*
— —
Google Run-Gemini-Cli
cpe:2.3:a:google:run-gemini-cli:*:*:*:*:*:*:*:*
— 0.1.22