Loading advisory.
Loading advisory.
GitHub CLI can execute a git binary from the current directory
GitHub CLI depends on a git.exe executable being found in system %PATH% on Windows. However, if a malicious .\git.exe or .\git.bat is found in the current working directory at the time of running gh, the malicious command will be invoked instead of the system one.
Published 2022-02-11 23:41 UTC · Modified 2026-03-03 04:52 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package |
|---|
| Ecosystem |
|---|
| Affected |
|---|
| Fixed in |
|---|
| Upgrade command |
|---|
| github.com/cli/cli | Go | < 1.2.1 | 1.2.1 | go get github.com/cli/cli@v1.2.1 |
|---|
GitHub CLI depends on a git.exe executable being found in system %PATH% on Windows. However, if a malicious .\git.exe or .\git.bat is found in the current working directory at the time of running gh, the malicious command will be invoked instead of the system one.
Windows users who run gh inside untrusted directories are affected.
Users should upgrade to GitHub CLI v1.2.1.
Other than avoiding untrusted repositories, there is no workaround.
https://github.com/golang/go/issues/38736
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
No EPSS history yet. Either the CVE has no score or the scores have not been fetched.