CVE-2020-11008Malicious URLs can still cause Git to send a stored credential to the wrong server
- 4.0MediumCVSS base score
- 3.9%Exploitation in 30 daysEPSS · top 9.6% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
Affected versions of Git have a vulnerability whereby Git can be tricked into sending private credentials to a host controlled by an attacker. This bug is similar to CVE-2020-5260(GHSA-qm7j-c969-7j4q). The fix for that bug still left the door open for an exploit where _some_ credential is leaked (but the attacker cannot control which one). Git uses external "credential helper" programs to store and retrieve passwords or other credentials from secure storage provided by the operating system. Specially-crafted URLs that are considered illegal as of the recently published Git versions can cause Git to send a "blank" pattern to helpers, missing hostname and protocol fields. Many helpers will interpret this as matching _any_ URL, and will return some unspecified stored password, leaking the password to an attacker's server. The vulnerability can be triggered by feeding a malicious URL to `git clone`. However, the affected URLs look rather suspicious; the likely vector would be through systems which automatically clone URLs not visible to the user, such as Git submodules, or package systems built around Git. The root of the problem is in Git itself, which should not be feeding blank input to helpers. However, the ability to exploit the vulnerability in practice depends on which helpers are in use. Credential helpers which are known to trigger the vulnerability: - Git's "store" helper - Git's "cache" helper - the "osxkeychain" helper that ships in Git's "contrib" directory Credential helpers which are known to be safe even with vulnerable versions of Git: - Git Credential Manager for Windows Any helper not in this list should be assumed to trigger the vulnerability.
Timeline
ID reserved
By GitHub_M
- 22 days later
· 22 days later
Published
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium4.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 3.9% · top 9.6% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.0.
Affected products
References
References12
- https://github.com/git/git/security/advisories/GHSA-hjc9-x69f-jqj7 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/git/git/security/advisories/GHSA-qm7j-c969-7j4q (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/git/git/commit/c44088ecc4b0722636e0a305f9608d3047197282 (opens in a new tab)x_refsource_MISCx_transferred
- GLSA-202004-13 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- [debian-lts-announce] 20200424 [SECURITY] [DLA 2182-1] git security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- FEDORA-2020-f6b3b6fb18 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2020-b2a2c830cf (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- USN-4334-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- FEDORA-2020-4e093619bb (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- openSUSE-SU-2020:0598 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- https://support.apple.com/kb/HT211183 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 20200522 APPLE-SA-2020-05-20-1 Xcode 11.5 (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2020-3400 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2020-11008)Record last updated .