Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2023-23618: Git for Windows is the Windows port of the revision control system Git

38
Routine
HIGH 8.6UPGRADE

CVE-2023-23618 is a high-severity flaw (CVSS 8.6) affecting git for windows. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 o

Why this priority

  • High severity

A fixed release or distro patch exists.

Risk facts

CVSS score8.6 (High)
Attack vectorLocal
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.4% (top 68%)
CISA exploited listNo
WeaknessCWE-426
Published2023-02-14
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: git for windows project

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

git for windows project git for windows UPGRADE
Affected: < 2.39.2
Fixed in: 2.39.2
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy git-for-windows || rpm -q git-for-windows || git-for-windows --version
2. UPGRADE to 2.39.2 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade git-for-windows
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade git-for-windows
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2023-23618?

git for windows: upgrade to 2.39.2. Exact commands for each OS are on this page.

Is CVE-2023-23618 being exploited?

CVE-2023-23618 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2023-23618 affect?

CVE-2023-23618 affects git for windows. Severity is 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 `gitk` is run on Windows, it potentially runs executables from the current directory inadvertently, which can be exploited

How urgent is CVE-2023-23618?

Priority 38/100. High severity

Software pages

Windows vulnerabilities · Git vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.