CVE-2020-26233

Summary

CVECVE-2020-26233
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-12-08 20:15:00 UTC
Updated2021-02-18 14:39:00 UTC
DescriptionGit 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.

Risk And Classification

Problem Types: CWE-706

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Microsoft Git Credential Manager Core All All All All
Application Microsoft Git Credential Manager Core All All All All

References

ReferenceSourceLinkTags
Attack of the clones 2: Git CLI remote code execution strikes back MISC blog.blazeinfosec.com Exploit, Third Party Advisory
Merged PR 585167: [Security] Enumerate the PATH environment variable … · microsoft/Git-Credential-Manager-Core@61c0388 · GitHub MISC github.com Patch, Third Party Advisory
Git recursive clone can result in remote code execution facilitated by GCM Core (affects Windows only) · Advisory · microsoft/Git-Credential-Manager-Core · GitHub CONFIRM github.com Third Party Advisory
git-clone(1) Manual Page MISC git-scm.com Third Party Advisory
Release GCM 2.0.289-beta · microsoft/Git-Credential-Manager-Core · GitHub MISC github.com Release Notes, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 375469 Git Credential Manager Core Untrusted Cloning of Repository Vulnerability
  • 375543 Git Credential Manager Core Untrusted Cloning of Repository Vulnerability

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report