synced 3 MIN AGO
01 Record

CVE-2026-13745

Arbitrary Code Execution in Gemini CLI via Untrusted Local .env Files Overriding GEMINI_CLI_HOME

HighPUBLISHEDCNA: GoogleCloud
CNA base score7.7 CVSS v4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/U:Amber

02 Description

Arbitrary Code Execution in Gemini CLI via Untrusted Local .env Files Overriding GEMINI_CLI_HOME

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
  • Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.65% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 50.9% of scored records. A rank, not a probability.
NVD base score
7.7 (CVSS v4.0), scored by the NVD independently of the CNA.
NVD CVSS 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
NVD analysis status
Awaiting Analysis. NVD last modified this record on 2026-09-23.
Red Hat severity
No Red Hat rating. Red Hat rates the CVEs that affect its products.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2026-09-10 08:33Z1 MO AGO
Last updated
2026-09-23 09:48Z1 MO AGO
Reserved
2026-06-29
Assigning CNA
GoogleCloud
Record state
PUBLISHED
Severity
High (CVSS 7.7)
CNA CVSS 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/U:Amber
Weaknesses
  • CWE-15External Control of System or Configuration SettingBase
  • CWE-829Inclusion of Functionality from Untrusted Control SphereBase
Data version
5.2
Document digest
c57c6ef48e8dd0efc9db4047e15973ade720841bcb5b34dc434bb4b69688727e

05 Affected products

VendorProductVersionsPlatforms
Google CloudGemini CLI0 to < 0.39.1—

06 References

07 Remediation

* Upgrade: Ensure you are using the latest version of gemini cli and follow the best practices guide https://github.com/google-github-actions/run-gemini-cli/blob/main/docs/trust-guidance.md * Configure Trust: Determine if your CI workflow operates on trusted or untrusted data. If the data is fully trusted, set GEMINI_TRUST_WORKSPACE: 'true' in your workflow.