# CVE-2020-26233: Remote Code Execution in Git Credential Manager Core

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.99%, higher than 93% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-12-08T19:55:15.000Z
- Modified: 2026-06-17T03:07:52.890Z
- Weaknesses: CWE-706
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- microsoft Git-Credential-Manager-Core: <= 2.0.280
- microsoft git_credential_manager_core: before 2.0.289

## Every score

- GitHub_M: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:2.0 3.6 Low `AV:N/AC:H/Au:S/C:P/I:P/A:N`

## References

- <https://blog.blazeinfosec.com/attack-of-the-clones-2-git-command-client-remote-code-execution-strikes-back/> (exploit, third-party-advisory)
- <https://github.com/microsoft/Git-Credential-Manager-Core/security/advisories/GHSA-2gq7-ww4j-3m76> (third-party-advisory)
- <https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt> (third-party-advisory)
- <https://github.com/microsoft/Git-Credential-Manager-Core/releases/tag/v2.0.289-beta> (release-notes, third-party-advisory)
- <https://github.com/microsoft/Git-Credential-Manager-Core/commit/61c0388e064babb3b4e60d3ec269e8a07ab3bc76> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2020-26233](https://www.cve.org/CVERecord?id=CVE-2020-26233), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-26233](https://nvd.nist.gov/vuln/detail/CVE-2020-26233), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-26233 · Whole record: https://cve.day/CVE-2020-26233.json · Rebuilt by cve.day 2026-11-25T22:57:56.068Z
