synced 4 MIN AGO
01 Record

CVE-2026-13745

Arbitrary Code Execution in Gemini CLI via Symlinked Environment Variables

CriticalPUBLISHEDCNA: GoogleCloud
CNA base score9.2 CVSS v4.0CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/U:Amber

02 Description

Arbitrary Code Execution in Gemini CLI via Symlinked Environment Variables

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
Not scored by EPSS
EPSS percentile
Not scored by EPSS
NVD base score
The NVD has published no score for this record
NVD CVSS vector
No NVD score to derive
NVD analysis status
Not recorded
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:33Z44 MIN AGO
Last updated
2026-09-10 08:33Z44 MIN AGO
Reserved
2026-06-29
Assigning CNA
GoogleCloud
Record state
PUBLISHED
Severity
Critical (CVSS 9.2)
CNA CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/U:Amber
Weaknesses
  • CWE-20Improper Input ValidationClass
  • CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')Base
Data version
5.2
Document digest
c128c40b9a12bc0abc9dd42a9c26c3b1e07b1092a501014d2d00c99e740044cd

05 Affected products

VendorProductVersionsPlatforms
Google CloudGemini CLI0 to < 0.39.1
Google Cloudrun-gemini-cli GitHub Action0 to < 0.1.22

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.