{"api_version":"1","generated_at":"2026-07-23T12:11:24+00:00","cve":"CVE-2020-26233","urls":{"html":"https://cve.report/CVE-2020-26233","api":"https://cve.report/api/cve/CVE-2020-26233.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-26233","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-26233"},"summary":{"title":"CVE-2020-26233","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2020-12-08 20:15:00","updated_at":"2021-02-18 14:39:00"},"problem_types":["CWE-706"],"metrics":[],"references":[{"url":"https://blog.blazeinfosec.com/attack-of-the-clones-2-git-command-client-remote-code-execution-strikes-back/","name":"https://blog.blazeinfosec.com/attack-of-the-clones-2-git-command-client-remote-code-execution-strikes-back/","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"Attack of the clones 2: Git CLI remote code execution strikes back","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/microsoft/Git-Credential-Manager-Core/commit/61c0388e064babb3b4e60d3ec269e8a07ab3bc76","name":"https://github.com/microsoft/Git-Credential-Manager-Core/commit/61c0388e064babb3b4e60d3ec269e8a07ab3bc76","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Merged PR 585167: [Security] Enumerate the PATH environment variable … · microsoft/Git-Credential-Manager-Core@61c0388 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/microsoft/Git-Credential-Manager-Core/security/advisories/GHSA-2gq7-ww4j-3m76","name":"https://github.com/microsoft/Git-Credential-Manager-Core/security/advisories/GHSA-2gq7-ww4j-3m76","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"Git recursive clone can result in remote code execution facilitated by GCM Core (affects Windows only) · Advisory · microsoft/Git-Credential-Manager-Core · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt","name":"https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt","refsource":"MISC","tags":["Third Party Advisory"],"title":"git-clone(1) Manual Page","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/microsoft/Git-Credential-Manager-Core/releases/tag/v2.0.289-beta","name":"https://github.com/microsoft/Git-Credential-Manager-Core/releases/tag/v2.0.289-beta","refsource":"MISC","tags":["Release Notes","Third Party Advisory"],"title":"Release GCM 2.0.289-beta · microsoft/Git-Credential-Manager-Core · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-26233","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26233","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"26233","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"microsoft","cpe5":"git_credential_manager_core","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"windows","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"26233","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"microsoft","cpe5":"git_credential_manager_core","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"windows","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-26233","qid":"375469","title":"Git Credential Manager Core Untrusted Cloning of Repository Vulnerability"},{"cve":"CVE-2020-26233","qid":"375543","title":"Git Credential Manager Core Untrusted Cloning of Repository Vulnerability"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-26233","STATE":"PUBLIC","TITLE":"Remote Code Execution in Git Credential Manager Core"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Git-Credential-Manager-Core","version":{"version_data":[{"version_value":"<= 2.0.280"}]}}]},"vendor_name":"microsoft"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-706: Use of Incorrectly-Resolved Name or Reference"}]}]},"references":{"reference_data":[{"name":"https://github.com/microsoft/Git-Credential-Manager-Core/security/advisories/GHSA-2gq7-ww4j-3m76","refsource":"CONFIRM","url":"https://github.com/microsoft/Git-Credential-Manager-Core/security/advisories/GHSA-2gq7-ww4j-3m76"},{"name":"https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt","refsource":"MISC","url":"https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt"},{"name":"https://github.com/microsoft/Git-Credential-Manager-Core/releases/tag/v2.0.289-beta","refsource":"MISC","url":"https://github.com/microsoft/Git-Credential-Manager-Core/releases/tag/v2.0.289-beta"},{"name":"https://github.com/microsoft/Git-Credential-Manager-Core/commit/61c0388e064babb3b4e60d3ec269e8a07ab3bc76","refsource":"MISC","url":"https://github.com/microsoft/Git-Credential-Manager-Core/commit/61c0388e064babb3b4e60d3ec269e8a07ab3bc76"},{"refsource":"MISC","name":"https://blog.blazeinfosec.com/attack-of-the-clones-2-git-command-client-remote-code-execution-strikes-back/","url":"https://blog.blazeinfosec.com/attack-of-the-clones-2-git-command-client-remote-code-execution-strikes-back/"}]},"source":{"advisory":"GHSA-2gq7-ww4j-3m76","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2020-12-08 20:15:00","lastModifiedDate":"2021-02-18 14:39:00","problem_types":["CWE-706"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"HIGH","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":7.3,"baseSeverity":"HIGH"},"exploitabilityScore":1,"impactScore":5.8},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:H/Au:S/C:P/I:P/A:N","accessVector":"NETWORK","accessComplexity":"HIGH","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":3.6},"severity":"LOW","exploitabilityScore":3.9,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:microsoft:git_credential_manager_core:*:*:*:*:*:windows:*:*","versionEndExcluding":"2.0.289","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"26233","Ordinal":"187655","Title":"CVE-2020-26233","CVE":"CVE-2020-26233","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"26233","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"26233","Ordinal":"2","NoteData":"2020-12-08","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"26233","Ordinal":"3","NoteData":"2021-01-15","Type":"Other","Title":"Modified"}]}}}