Skip to main content
Reconnecting to live updates…
EPSS 0.3%top 78%

A vulnerability in the Gemini CLI and associated GitHub Action allowed an unprivileged attacker to achieve an arbitrary code execution in Gemini CLI… (CVE-2026-13745)

0
Critical
Published: 09/10/2026 (09/10/2026, 09:31:33 UTC)
Source: GCVE Database

Description

CVE-2026-13745 is a critical vulnerability in the Gemini CLI and its associated GitHub Action that allows an unprivileged attacker to execute arbitrary code. The flaw arises from the ability of untrusted local .env files to override the GEMINI_CLI_HOME environment variable, leading to code execution. No patch or remediation information is currently provided. There are no known exploits in the wild at this time.

CVSS v4.0

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
Scope
X
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 13:29:13 UTC

Technical Analysis

This vulnerability in Gemini CLI and its GitHub Action component enables an unprivileged attacker to achieve arbitrary code execution by leveraging untrusted local .env files that override the GEMINI_CLI_HOME environment variable. This improper input validation or control of environment variables corresponds to CWE-20. The vulnerability is rated critical based on the provided severity and CVSS 4.0 vector, indicating network attack vector with high impact and complexity. No affected versions or patch information are specified in the data.

Potential Impact

An attacker without privileges can execute arbitrary code within the context of the Gemini CLI by manipulating local .env files. This can lead to full compromise of the environment where Gemini CLI is run. The vulnerability is critical, implying severe impact on confidentiality, integrity, and availability of the affected system.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running Gemini CLI in untrusted environments or with untrusted .env files that could override GEMINI_CLI_HOME.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-2255-3477-vp73
Osv Schema Version
1.4.0
Aliases
["CVE-2026-13745"]
Ecosystems
[]
Database Specific Severity
CRITICAL
Cvss Version
4.0

Threat ID: 6aa2af60acd9273b4925a650

Added to database: 09/10/2026, 13:23:44 UTC

Last enriched: 09/10/2026, 13:29:13 UTC

Last updated: 09/10/2026, 16:52:44 UTC

Views: 5

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