CVE-2023-23618: gitk can inadvertently call executables in the worktree
Vulnerability summary
CVE-2023-23618 is a high (CVSS 8.6) Untrusted Search Path vulnerability in git_for_windows_project git_for_windows. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 34.7% of scored vulnerabilities.
Not severe (CVSS 8.6, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 14-02-2023PublishedVulnerability first disclosed.
- 10-03-2025Last modifiedVulnerability information updated.
Description
Git for Windows is the Windows port of the revision control system Git. Prior to Git for Windows version 2.39.2, when `gitk` is run on Windows, it potentially runs executables from the current directory inadvertently, which can be exploited with some social engineering to trick users into running untrusted code. A patch is available in version 2.39.2. As a workaround, avoid using `gitk` (or Git GUI's "Visualize History" functionality) in clones of untrusted repositories.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.39%
Chance of exploitation in the next 30 days
Percentile
35%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.39% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Git_for_windows_project1 product
- git_for_windows< 2.39.2
Git-for-windows1 product
- git< 2.39.2
2 vendors · 2 products
References
4 links- github.com/git-for-windows/git/security/advisories/GHSA-wxwv-49qw-35pmX Refsource CONFIRMVendor Advisory