Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-13745
Published:September 10, 2026
Updated:September 22, 2026
A vulnerability in the Gemini CLI and associated GitHub Action allowed an unprivileged attacker to achieve an arbitrary code execution in Gemini CLI via untrusted local .env files overriding GEMINI_CLI_HOME.
Affected Packages
https://github.com/google-gemini/gemini-cli.git (GITHUB):
Affected version(s) >=v0.1.6 <v0.39.1
Fix Suggestion:
Update to version v0.39.1
https://github.com/google-gemini/gemini-cli.git (GITHUB):
Affected version(s) =v0.40.0-preview.2 <v0.40.0-preview.3
Fix Suggestion:
Update to version v0.40.0-preview.3
@google/gemini-cli (NPM):
Affected version(s) =0.40.0-preview.2 <0.40.0-preview.3
Fix Suggestion:
Update to version 0.40.0-preview.3
@google/gemini-cli (NPM):
Affected version(s) >=0.1.0 <0.39.1
Fix Suggestion:
Update to version 0.39.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
LOW
CVSS v3
Base Score:
9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Improper Input Validation
EPSS
Base Score:
0.30