CVE-2023-23618
CVE-2023-23618 is a high-severity vulnerability in Git For Windows Project Git For Windows with a CVSS 3.x base score of 8.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-426.
Key facts
- Severity: High (CVSS 3.x base score 8.6)
- EPSS exploit prediction: 0% (30th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-426
- Affected product: Git For Windows Project Git For Windows
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2023-23618?
- 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.
- How severe is CVE-2023-23618?
- CVE-2023-23618 has a CVSS 3.x base score of 8.6, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2023-23618 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (30th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-23618?
- CVE-2023-23618 affects Git For Windows Project Git For Windows. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2023-23618?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2023-23618 published?
- CVE-2023-23618 was published on 2023-02-14 and last updated on 2026-06-17.
References
- https://github.com/git-for-windows/git/commit/49a8ec9dac3cec6602f05fed1b3f80a549c8c05c
- https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1
- https://github.com/git-for-windows/git/security/advisories/GHSA-wxwv-49qw-35pm
- https://wiki.tcl-lang.org/page/exec
Affected products (1)
- cpe:2.3:a:git_for_windows_project:git_for_windows:*:*:*:*:*:*:*:*
More vulnerabilities in Git For Windows Project Git For Windows
- CVE-2022-24767 — High (CVSS 7.8): GitHub: Git for Windows' uninstaller vulnerable to DLL hijacking when run under the SYSTEM user account.
- CVE-2016-9274 — High (CVSS 7.8): Untrusted search path vulnerability in Git 1.x for Windows allows local users to gain privileges via a Trojan horse…
- CVE-2023-29011 — High (CVSS 7.5): Git for Windows, the Windows port of Git, ships with an executable called `connect.exe`, which implements a SOCKS5…
- CVE-2023-29012 — High (CVSS 7.2): Git for Windows is the Windows port of Git. Prior to version 2.40.1, any user of Git CMD who starts the command in an…
- CVE-2023-22743 — High (CVSS 7.2): Git for Windows is the Windows port of the revision control system Git. Prior to Git for Windows version 2.39.2, by…
- CVE-2023-25815 — Low (CVSS 3.3): In Git for Windows, the Windows port of Git, no localized messages are shipped with the installer. As a consequence,…
All CVEs affecting Git For Windows Project Git For Windows →
Other CWE-426 (Untrusted Search Path) vulnerabilities
- CVE-2026-45772 — Critical (CVSS 9.8): Turborepo is a high-performance build system for JavaScript and TypeScript codebases. From 1.1.0 to before 2.9.14,…
- CVE-2025-26155 — Critical (CVSS 9.8): NCP Secure Enterprise Client 13.18 and NCP Secure Entry Windows Client 13.19 have an Untrusted Search Path…
- CVE-2024-53866 — Critical (CVSS 9.8): The package manager pnpm prior to version 9.15.0 seems to mishandle overrides and global cache: Overrides from one…
- CVE-2024-38462 — Critical (CVSS 9.8): iRODS before 4.3.2 provides an msiSendMail function with a problematic dependency on the mail binary, such as in the…
- CVE-2023-30330 — Critical (CVSS 9.8): SoftExpert (SE) Excellence Suite 2.x versions before 2.1.3 is vulnerable to Local File Inclusion in the function…
- CVE-2022-24826 — Critical (CVSS 9.8): On Windows, if Git LFS operates on a malicious repository with a `..exe` file as well as a file named `git.exe`, and…
Browse all CWE-426 (Untrusted Search Path) vulnerabilities →