CVE-2026-13745: Gemini CLI untrusted directory arbitrary code execution
Gemini CLI
A vulnerability in Gemini CLI allows attackers to achieve arbitrary code execution by tricking victims into launching the CLI in untrusted directories containing malicious .env files. The flaw bypasses folder trust prompts and overrides configuration paths.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
- CVSS
- 9.2
- EPSS
- 0.01 · top 49% · 2026-11-13
- fix status
- Fix status unknown
- first report
- 10 Sep 2026
- last update
- 10 Sep 2026
- CVE ids
Timeline · 1
Sources · 1
Advisories and databases
- 2026-09-10CVE-2026-13745: A vulnerability in the Gemini CLI prior to version 0.39.1 allows attackers to achieve arbitrary code execution by tricking a…NVD · nvd.nist.gov/vuln/detail/CVE-2026-13745
Titles and links belong to their publishers. The summary above is written by gcdRadar in its own words; data is CC BY-SA 4.0.
Classification
- lane
- Patch now
- AI role
- Attack on AI
- categories
- Infrastructure vulnerability
- severity
- 2 · Disclosed vulnerability
- fix status
- Fix status unknown
- targets
- Google, Framework / tooling
- owasp llm top 10
- LLM03:2025 Supply Chain
- mitre atlas
- no technique for these categories
- dates
- happened 10 Sep 2026 · first reported 10 Sep 2026
- origin
- NVDVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- record
- confidence 0.95 · created 2026-10-18 06:33Z · updated 2026-10-18 06:33Z
Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned
Copy a brief
This record as a short Markdown brief, for a ticket, a chat or a coding agent.
the brief as text
# CVE-2026-13745: Gemini CLI untrusted directory arbitrary code execution https://gcdradar.vercel.app/incidents/cve-2026-13745-gemini-cli-untrusted-directory-arbitrary-code · AIR-2026-0106 · closed 2026-09-10 - Lane: Patch now - Severity: 2 (Disclosed vulnerability) - Fix status: Fix status unknown - First reported: 2026-09-10 - AI role: Attack on AI - Products: Gemini CLI - CVE ids: CVE-2026-13745 - CVSS: 9.2 ## Summary A vulnerability in Gemini CLI allows attackers to achieve arbitrary code execution by tricking victims into launching the CLI in untrusted directories containing malicious .env files. The flaw bypasses folder trust prompts and overrides configuration paths. ## What to do No action recorded; read the sources below and the vendor's advisory. ## Latest updates - 2026-09-10: CVE-2026-13745: A vulnerability in the Gemini CLI prior to version 0.39.1 allows attackers to achieve arbitrary code execution by tricking a… (https://nvd.nist.gov/vuln/detail/CVE-2026-13745) ## Sources - 2026-09-10 NVD: CVE-2026-13745: A vulnerability in the Gemini CLI prior to version 0.39.1 allows attackers to achieve arbitrary code execution by tricking a… https://nvd.nist.gov/vuln/detail/CVE-2026-13745 Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.
Related
- closed10.0Gemini CLI CVE-2026-12537: Gemini CLI remote code execution vulnerability
Patch now · Disclosed · since 24 Apr 2026 · updated 24 Jun 2026 · CVE-2026-12537
AI - closed8.2GitLab AI Gateway CVE-2026-19889: Model request redirection vulnerability in GitLab AI Gateway
Patch now · Disclosed · since 27 Aug 2026 · CVE-2026-19889
AI - closed9.3MCP servers & tools x64dbg-MCP Server exposes unauthenticated debugging tools over HTTP
Patch now · Disclosed · since 9 Oct 2026 · CVE-2026-107824
AI - closed5.3MCP servers & tools x64dbg-MCP Server integer overflow leads to process crash
Patch now · Disclosed · since 9 Oct 2026 · CVE-2026-107820
AI - closed9.4Ollama Ollama vulnerable to path traversal leading to remote code execution
Patch now · Disclosed · since 8 Oct 2026 · CVE-2026-103663
AI - closed8.8Langflow CVE-2026-93675: IBM Langflow OSS dependency confusion vulnerability
Patch now · Disclosed · since 7 Oct 2026 · CVE-2026-93675
AI