CVE-2023-22743
CVE-2023-22743 is a high-severity vulnerability in Git For Windows Project Git For Windows with a CVSS 3.x base score of 7.2. 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 7.2)
- EPSS exploit prediction: 0% (27th 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, by carefully crafting DLL and putting into a subdirectory of a specific name living next to the Git for Windows installer, Windows can be tricked into side-loading said DLL. This potentially allows users with local write access to place malicious payloads in a location where automated upgrades might run the Git for Windows installer with elevation. Version 2.39.2 contains a patch for this issue. Some workarounds are available. Never leave untrusted files in the Downloads folder or its sub-folders before executing the Git for Windows installer, or move the installer into a different directory before executing it.
Frequently asked questions
- What is CVE-2023-22743?
- Git for Windows is the Windows port of the revision control system Git. Prior to Git for Windows version 2.39.2, by carefully crafting DLL and putting into a subdirectory of a specific name living next to the Git for Windows installer, Windows can be tricked into side-loading said DLL. This potentially allows users with local write access to place malicious payloads in a location where automated upgrades might run the Git for Windows installer with elevation. Version 2.39.2 contains a patch for this issue. Some workarounds are available. Never leave untrusted files in the Downloads folder or its sub-folders before executing the Git for Windows installer, or move the installer into a different directory before executing it.
- How severe is CVE-2023-22743?
- CVE-2023-22743 has a CVSS 3.x base score of 7.2, rated high severity. It is exploitable over local access with high attack complexity, requires high privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2023-22743 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (27th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-22743?
- CVE-2023-22743 affects Git For Windows Project Git For Windows. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2023-22743?
- 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-22743 published?
- CVE-2023-22743 was published on 2023-02-14 and last updated on 2026-06-17.
References
- https://attack.mitre.org/techniques/T1574/002/
- https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1
- https://github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3
- https://github.com/git-for-windows/git/security/advisories/GHSA-p2x9-prp4-8gvq
- https://learn.microsoft.com/en-us/windows/win32/controls/cookbook-overview?redirectedfrom=MSDN#using-comctl32dll-version-6-in-an-application-that-uses-only-standard-extensions
- https://learn.microsoft.com/en-us/windows/win32/sbscs/about-side-by-side-assemblies-
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-2023-23618 — 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…
- 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-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 →