CVE-2026-13745

Summary

A vulnerability in the Gemini CLI prior to version 0.39.1 allows attackers to achieve arbitrary code execution by tricking a victim into starting the CLI within an untrusted directory. The vulnerability is triggered via untrusted .env files overriding GEMINI_CLI_HOME to load malicious configuration files and bypass folder trust prompts.

Affected Software

VendorProductVersion RangeStatus
Google CloudGemini CLI0 < 0.39.1affected

Weaknesses

  • CWE-829: CWE-829 Inclusion of functionality from untrusted control sphere
  • CWE-15: CWE-15 External Control of System or Configuration Setting

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: yes
    • Technical Impact: total

References