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-13745: CWE-20 Improper input validation in Google Cloud Gemini CLI

0
Critical
VulnerabilityCVE-2026-13745cvecve-2026-13745cwe-20cwe-78
Published: 09/10/2026 (09/10/2026, 08:33:09 UTC)
Source: CVE Database V5
Vendor/Project: Google Cloud
Product: Gemini CLI

Description

A vulnerability in the Gemini CLI and associated GitHub Action allowed an unprivileged attacker to achieve an arbitrary code execution in Gemini CLI via untrusted local .env files overriding GEMINI_CLI_HOME.

CVSS v4.0

Score 9.2critical

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
Low
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/U:Amber

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 09:07:08 UTC

Technical Analysis

This vulnerability arises from improper input validation (CWE-20) and command injection risks (CWE-78) in the Gemini CLI and its GitHub Action. An attacker with no privileges can exploit untrusted local .env files to override the GEMINI_CLI_HOME environment variable, leading to arbitrary code execution within the Gemini CLI environment. The vulnerability has a CVSS 4.0 base score of 9.2, indicating critical severity. The affected product is a cloud service managed by Google Cloud.

Potential Impact

Successful exploitation allows an unprivileged attacker to execute arbitrary code in the context of the Gemini CLI, potentially compromising the environment and any operations performed through the CLI. This could lead to unauthorized actions within the cloud service environment.

Mitigation Recommendations

As this is a cloud-hosted service, Google Cloud manages remediation server-side. A patch is available, and users should verify with the official Google Cloud advisory for the current remediation status and ensure their environments are updated accordingly. No additional user action is specified beyond applying the official fix.

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-29T15:39:28.269Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null
Is Cloud Service
true

Threat ID: 6aa26fdaacd9273b49d011b0

Added to database: 09/10/2026, 08:52:42 UTC

Last enriched: 09/10/2026, 09:07:08 UTC

Last updated: 09/10/2026, 11:04:32 UTC

Views: 42

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