Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-12537: CWE-20 Improper Input Validation in Google Cloud Gemini CLI

0
Critical
VulnerabilityCVE-2026-12537cvecve-2026-12537cwe-20
Published: 06/24/2026 (06/24/2026, 13:37:21 UTC)
Source: CVE Database V5
Vendor/Project: Google Cloud
Product: Gemini CLI

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.

CVSS v4.0

Score 10.0critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
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/U:Clear

Affected software

GitHub Actionsmore threats →ai
google-github-actions/run-gemini-cli
pkg:github/google-github-actions/run-gemini-cli
Affected versions
<0.1.22
GitHub Actionsmore threats →ai
google-cloud/gemini-cli
pkg:github/google-cloud/gemini-cli
Affected versions
<0.39.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/24/2026, 14:09:34 UTC

Technical Analysis

CVE-2026-12537 is an improper input validation vulnerability (CWE-20) in the container launcher component of Google Cloud Gemini CLI (versions <0.39.1) and the run-gemini-cli GitHub Action (versions <0.1.22) used on headless CI platforms. The flaw involves improper neutralization of OS commands, allowing an attacker who can supply a malicious .gemini/.env file to achieve pre-sandbox host-level code execution without privileges. The vulnerability has a critical CVSS 4.0 score of 10, indicating network attack vector, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability. The affected product is a cloud service, and Google Cloud manages remediation for this service.

Potential Impact

An unprivileged attacker can achieve host-level code execution before sandboxing by exploiting improper input validation in the container launcher of Google Cloud Gemini CLI and its GitHub Action on headless CI platforms. This can lead to full compromise of the host environment, affecting confidentiality, integrity, and availability of the system. The vulnerability is critical with a CVSS 4.0 score of 10.

Mitigation Recommendations

A patch is available for this vulnerability. Since Gemini CLI is a cloud-hosted service, Google Cloud manages remediation server-side. Users should ensure they are using Gemini CLI version 0.39.1 or later and run-gemini-cli GitHub Action version 0.1.22 or later. Check the official Google Cloud advisory for confirmation and apply updates accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GoogleCloud
Date Reserved
2026-06-17T15:08:00.562Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null
Is Cloud Service
true

Threat ID: 6a3be194eed863c81eeb9649

Added to database: 06/24/2026, 13:54:28 UTC

Last enriched: 06/24/2026, 14:09:34 UTC

Last updated: 06/24/2026, 15:06:08 UTC

Views: 22

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses