CVE-2020-26233

Public Exploit
Remote Code Execution in Git Credential Manager Core

Description

Git Credential Manager Core (GCM Core) is a secure Git credential helper built on .NET Core that runs on Windows and macOS. In Git Credential Manager Core before version 2.0.289, when recursively cloning a Git repository on Windows with submodules, Git will first clone the top-level repository and then recursively clone all submodules by starting new Git processes from the top-level working directory. If a malicious git.exe executable is present in the top-level repository then this binary will be started by Git Credential Manager Core when attempting to read configuration, and not git.exe as found on the %PATH%. This only affects GCM Core on Windows, not macOS or Linux-based distributions. GCM Core version 2.0.289 contains the fix for this vulnerability, and is available from the project's GitHub releases page. GCM Core 2.0.289 is also bundled in the latest Git for Windows release; version 2.29.2(3). As a workaround, users should avoid recursively cloning untrusted repositories with the --recurse-submodules option.

Category

7.3
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 15.58% Top 10%
Third-Party Advisory blazeinfosec.com Third-Party Advisory git-scm.com Third-Party Advisory github.com Third-Party Advisory github.com Third-Party Advisory github.com
Affected: microsoft Git-Credential-Manager-Core
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2020-26233?
CVE-2020-26233 has been scored as a high severity vulnerability.
How to fix CVE-2020-26233?
To fix CVE-2020-26233, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2020-26233 being actively exploited in the wild?
It is possible that CVE-2020-26233 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~16% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2020-26233?
CVE-2020-26233 affects microsoft Git-Credential-Manager-Core.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.