SB2020111152 - Untrusted search path in GitHub CLI



SB2020111152 - Untrusted search path in GitHub CLI

Published: November 11, 2020 Updated: May 18, 2026

Security Bulletin ID SB2020111152
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Local access
Highest impact Code execution

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Untrusted search path (CVE-ID: N/A)

CWE-ID: CWE-426 - Untrusted Search Path

CVSSv4: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a local user to execute arbitrary code.

The vulnerability exists due to improper search path control in git executable resolution when invoking git from the current working directory on Windows. A local user can place a malicious git.exe or git.bat in the current directory to execute arbitrary code.

Only Windows users who run gh inside untrusted directories are affected.


Remediation

Install update from vendor's website.