CVE-2023-23618: Git for Windows is the Windows port of the revision control system Git
CVE-2023-23618 is a high-severity flaw (CVSS 8.6) affecting git for windows. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 o
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.6 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.4% (top 68%) |
| CISA exploited list | No |
| Weakness | CWE-426 |
| Published | 2023-02-14 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-23618?
git for windows: upgrade to 2.39.2. Exact commands for each OS are on this page.
Is CVE-2023-23618 being exploited?
CVE-2023-23618 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-23618 affect?
CVE-2023-23618 affects git for windows. Severity is high (CVSS 8.6). 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
How urgent is CVE-2023-23618?
Priority 38/100. High severity
Software pages
Windows vulnerabilities · Git vulnerabilities
Related CVEs
- CVE-2023-29012 HIGH 7.2 UPGRADE Git for Windows is the Windows port of Git
- CVE-2023-29011 HIGH 7.5 UPGRADE Git for Windows, the Windows port of Git, ships with an executable called `connect.exe`, which implements a SO
- CVE-2023-25815 LOW 3.3 UPGRADE MITIGATE In Git for Windows, the Windows port of Git, no localized messages are shipped with the installer
- CVE-2023-22743 HIGH 7.2 UPGRADE Git for Windows is the Windows port of the revision control system Git
- CVE-2022-24767 HIGH 7.8 UPGRADE UPGRADE GitHub: Git for Windows' uninstaller vulnerable to DLL hijacking when run under the SYSTEM user account.