Home / git / git / CVE-2020-11008
CVE-2020-11008: is it exploited, and which versions of git are affected and fixed?
CVE-2020-11008 is an improper input validation vulnerability in git. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: git < 2.17.5, git >= 2.18.0, < 2.18.4, git >= 2.19.0, 2.19.5 and 7 more (CVE record by GitHub_M). Fixed in 2.17.5, 2.18.4, 2.19.5, 2.20.4 and 2 more (NVD). Severity: Medium (4.0, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:11 UTC.
What is CVE-2020-11008?
Malicious URLs can still cause Git to send a stored credential to the wrong server
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.
From the CVE record by GitHub_M, last updated August 4, 2024, 11:21 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| git | git | < 2.17.5 >= 2.18.0, < 2.18.4 >= 2.19.0, 2.19.5 >= 2.20.0, < 2.20.4 >= 2.21.0, < 2.21.3 >= 2.22.0, < 2.22.4 >= 2.23.0, < 2.23.3 >= 2.24.0, < 2.24.3 >= 2.25.0, < 2.25.4 >= 2.26.0, < 2.26.2 |
As the CVE record by GitHub_M states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| git-scm | git | before 2.17.5 | application |
| git-scm | git | from 2.18.0 before 2.18.4 | application |
| git-scm | git | from 2.19.0 before 2.19.5 | application |
| git-scm | git | from 2.20.0 before 2.20.4 | application |
| git-scm | git | from 2.21.0 before 2.21.3 | application |
| git-scm | git | from 2.22.0 before 2.22.4 | application |
| git-scm | git | from 2.23.0 before 2.23.3 | application |
| git-scm | git | from 2.24.0 before 2.24.3 | application |
| git-scm | git | from 2.25.0 before 2.25.4 | application |
| git-scm | git | from 2.26.0 before 2.26.2 | application |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 18.04 | operating system |
| canonical | ubuntu linux | 19.10 | operating system |
| debian | debian linux | 8.0 | operating system |
| fedoraproject | fedora | 31 | operating system |
| fedoraproject | fedora | 32 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 02:48 UTC.
How severe is CVE-2020-11008?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-11008 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.80% probability of exploitation activity in the next 30 days, percentile 92.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/git/git/security/advisories/GHSA-hjc9-x69f-jqj7 x_refsource_CONFIRM
- https://github.com/git/git/security/advisories/GHSA-qm7j-c969-7j4q x_refsource_MISC
- https://github.com/git/git/commit/c44088ecc4b0722636e0a305f9608d3047197282 x_refsource_MISC
- GLSA-202004-13 vendor-advisory, x_refsource_GENTOO
- [debian-lts-announce] 20200424 [SECURITY] [DLA 2182-1] git security update mailing-list, x_refsource_MLIST
- FEDORA-2020-f6b3b6fb18 vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-b2a2c830cf vendor-advisory, x_refsource_FEDORA
- USN-4334-1 vendor-advisory, x_refsource_UBUNTU
- FEDORA-2020-4e093619bb vendor-advisory, x_refsource_FEDORA
- openSUSE-SU-2020:0598 vendor-advisory, x_refsource_SUSE
- https://support.apple.com/kb/HT211183 x_refsource_CONFIRM
- 20200522 APPLE-SA-2020-05-20-1 Xcode 11.5 mailing-list, x_refsource_FULLDISC
When was it published, and where is the official record?
- Reserved
- March 30, 2020
- Published
- April 21, 2020, 18:40 UTC
- CVE record updated
- August 4, 2024, 11:21 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 02:48 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:11 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect git?
- Jul 8, 2025CVE-2025-48384 git: interpretation Conflict exploited
- Nov 16, 2026CVE-2026-111760 git: link following (a symlink lets an attacker reach other files)
- Nov 12, 2026CVE-2026-114467 Git: out-of-bounds write (memory corruption)
- Nov 12, 2026CVE-2026-114466 Git: insufficient Granularity of Access Control
- Nov 12, 2026CVE-2026-114469 Git: out-of-bounds read
- Nov 12, 2026CVE-2026-113408 Git: path traversal (reading or writing files outside the intended folder)
- Nov 10, 2026CVE-2026-105437 Git: heap buffer overflow
- Jul 8, 2025CVE-2025-48385 git: argument injection
Questions about CVE-2020-11008
Is CVE-2020-11008 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 4.80% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of git are affected by CVE-2020-11008?
git < 2.17.5, git >= 2.18.0, < 2.18.4, git >= 2.19.0, 2.19.5, git >= 2.20.0, < 2.20.4, git >= 2.21.0, < 2.21.3, git >= 2.22.0, < 2.22.4 and 4 more, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2020-11008?
2.17.5, 2.18.4, 2.19.5, 2.20.4, 2.21.3 and 2.22.4, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-11008?
Medium (4.0, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2020-11008?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.