{
 "id": "CVE-2026-13745",
 "description": "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.",
 "published": "2026-09-10",
 "last_modified": "2026-09-23",
 "vuln_status": "Awaiting Analysis",
 "cna": "f45cbf4e-4146-4068-b7e1-655ffc2c548c",
 "cvss": {
  "version": "4.0",
  "score": 7.7,
  "severity": "HIGH",
  "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/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",
  "source": "f45cbf4e-4146-4068-b7e1-655ffc2c548c"
 },
 "cwe": [
  "CWE-15",
  "CWE-829"
 ],
 "products": [
  {
   "vendor": "Google",
   "product": "Gemini CLI",
   "versions_affected": null,
   "fixed_in": null,
   "product_id": null
  }
 ],
 "category": "product",
 "surface": [
  "code_execution",
  "supply_chain"
 ],
 "kev": null,
 "fix": {
  "status": "unknown",
  "version": null,
  "url": null
 },
 "references": [
  {
   "url": "https://github.com/google-gemini/gemini-cli/releases/tag/v0.39.1",
   "source": "f45cbf4e-4146-4068-b7e1-655ffc2c548c",
   "tags": []
  },
  {
   "url": "https://www.pwned.info/articles/homing-in-on-arbitrary-code-execution-within-gemini-cli/",
   "source": "f45cbf4e-4146-4068-b7e1-655ffc2c548c",
   "tags": []
  },
  {
   "url": "https://www.redguard.ch/blog/2026/06/03/advisory-google-gemini-cli/",
   "source": "f45cbf4e-4146-4068-b7e1-655ffc2c548c",
   "tags": []
  }
 ],
 "related_agents": [
  "google-gemini-cli"
 ],
 "related_incidents": [],
 "match": {
  "tests": [
   "A:name"
  ],
  "terms": [
   "gemini-cli:Gemini CLI"
  ]
 },
 "status": "candidate",
 "note": null,
 "reviewer": null,
 "checked_on": null,
 "retrieved_on": "2026-10-25"
}