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

Published Feb 14, 2023
·
Updated

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.

Other sources

GitHub: CVE-2023-23618 Git for Windows Remote Code Execution Vulnerability

Affected Software

6 affected componentsFixes available
Git For Windows Project Git For Windows<2.39.2
Microsoft Visual Studio 2019 (includes 16.0 - 16.10)=16.11
Microsoft Visual Studio 2017 (includes 15.0 - 15.8)=15.9
Microsoft Visual Studio 2022=17.2
Microsoft Visual Studio 2022=17.4
Microsoft Visual Studio 2022=17.0

Event History

Feb 14, 2023
CVE Published
via MITRE·08:38 PM
Data Sourced
via MITRE·08:38 PM
DescriptionSeverityWeakness
Mar 14, 2023
Data Sourced
07:00 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-23618?

CVE-2023-23618 is a Git for Windows Remote Code Execution Vulnerability.

2

Who is affected by CVE-2023-23618?

Users of Microsoft Visual Studio 2017, 2019, and 2022 are affected by CVE-2023-23618.

3

What is the severity of CVE-2023-23618?

CVE-2023-23618 has a severity level of high (7 out of 10).

4

How can I fix CVE-2023-23618 in Visual Studio 2022 version 17.5?

You can fix CVE-2023-23618 in Visual Studio 2022 version 17.5 by applying the patch provided by Microsoft. You can download the patch from the official Visual Studio website.

5

Where can I find more information about CVE-2023-23618?

You can find more information about CVE-2023-23618 on the Microsoft Security Response Center website.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203