CVEvulnerability
CVE-2023-23618
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2023-02-14
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.6 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-426
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.
Affected configurations
• git for windows project git for windows (< 2.39.2)
Related
Weakness · CWE (1)
- CWE-426 Untrusted Search Path weakness
References
- https://github.com/git-for-windows/git/commit/49a8ec9dac3cec6602f05fed1b3f80a549c8c05c Patch
- https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1 Release Notes
- https://github.com/git-for-windows/git/security/advisories/GHSA-wxwv-49qw-35pm Vendor Advisory
- https://wiki.tcl-lang.org/page/exec Not Applicable
- https://github.com/git-for-windows/git/commit/49a8ec9dac3cec6602f05fed1b3f80a549c8c05c Patch
- https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1 Release Notes
- https://github.com/git-for-windows/git/security/advisories/GHSA-wxwv-49qw-35pm Vendor Advisory
- https://wiki.tcl-lang.org/page/exec Not Applicable