CVE-2023-23618

published 14 Feb 2023 · updated 10 Mar 2025

gitk can inadvertently call executables in the worktree

8.6HighCVSS 8.6EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MicrosoftVisual Studio
git-for-windows<2.39.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Microsoft, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-23618 severity on Zeptric[![CVE-2023-23618](https://zeptric.io/badge/cve/CVE-2023-23618.svg)](https://zeptric.io/cve/CVE-2023-23618)