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)
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.
AI Analysis
Technical Summary
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.
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)
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
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.