# CVE-2023-23618: gitk can inadvertently call executables in the worktree

- Priority: **Routine**
- Reason: Not severe (CVSS 8.6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-02-14 · Modified: 2025-03-10
- Record: https://cvemate.com/vulnerability/CVE-2023-23618 · JSON: https://cvemate.com/vulnerability/CVE-2023-23618/json

## Description

```text
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.
```

## Signals

- CVSS: 8.6 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- EPSS: 0.385%, percentile 34.703%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- git\_for\_windows\_project git\_for\_windows: \< 2.39.2
- git-for-windows git: \< 2.39.2

## References

- <https://github.com/git-for-windows/git/security/advisories/GHSA-wxwv-49qw-35pm>
- <https://github.com/git-for-windows/git/commit/49a8ec9dac3cec6602f05fed1b3f80a549c8c05c>
- <https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1>
- <https://wiki.tcl-lang.org/page/exec>

---

Data as of 2026-12-05T03:08:42.858Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
