CVE-2020-11008: Malicious URLs can still cause Git to send a stored credential to the wrong server
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 3.8% (FIRST EPSS); higher than 90.3% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: git (Alpine:v3.10) 2.22.4-r0; git (Alpine:v3.11) 2.24.3-r0; git (Alpine:v3.12) 2.26.2-r0.
- Severity is disputed: the assigning authority (CNA) scores it 4.0, NVD 7.5.
- Mentioned 2 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to git (Alpine:v3.10) 2.22.4-r0; git (Alpine:v3.11) 2.24.3-r0; git (Alpine:v3.12) 2.26.2-r0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Apr 21, 2020
- Updated
- Jun 16, 2026
- EPSS
- 3.8% · 90th percentile
- CWE
- CWE-20
Report tools
Action score
31
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.8%
CNA vs NVD score
- NVD
- 7.5
- CNA · GitHub_M
- 4.0
- 3.5 point gap
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| git-scm | git | cpe:2.3:a:git-scm:git |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
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.2affected
Affected versions · NVD (16)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux16.04
- canonical ubuntu linux18.04
- canonical ubuntu linux19.10
- debian debian linux8.0
- fedoraproject fedora31
- fedoraproject fedora32
- git-scm git2.23.0 and later · before 2.23.3
- git-scm git2.24.0 and later · before 2.24.3
- git-scm gitbefore 2.17.5
- git-scm git2.26.0 and later · before 2.26.2
- git-scm git2.25.0 and later · before 2.25.4
- git-scm git2.18.0 and later · before 2.18.4
- git-scm git2.19.0 and later · before 2.19.5
- git-scm git2.20.0 and later · before 2.20.4
- git-scm git2.21.0 and later · before 2.21.3
- git-scm git2.22.0 and later · before 2.22.4
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | git | from 2.18.0 · before 2.22.4-r0 | 2.22.4-r0 |
| Alpine:v3.11 | git | from 2.18.0 · before 2.24.3-r0 | 2.24.3-r0 |
| Alpine:v3.12 | git | from 2.18.0 · before 2.26.2-r0 | 2.26.2-r0 |
| Alpine:v3.8 | git | from 2.18.0 · before 2.18.4-r0 | 2.18.4-r0 |
| Alpine:v3.9 | git | from 2.18.0 · before 2.20.4-r0 | 2.20.4-r0 |
| Debian:10 | git | before 1:2.20.1-2+deb10u3 | 1:2.20.1-2+deb10u3 |
| Debian:12 | git | before 1:2.26.2-1 | 1:2.26.2-1 |
| Debian:8 | git | before 1:2.1.4-2.1+deb8u10 | 1:2.1.4-2.1+deb8u10 |
| Debian:9 | git | before 1:2.11.0-3+deb9u7 | 1:2.11.0-3+deb9u7 |
| openSUSE:Leap 15.1 | git | before 2.26.1-lp151.4.9.1 | 2.26.1-lp151.4.9.1 |
| openSUSE:Tumbleweed | git | before 2.33.0-1.3 | 2.33.0-1.3 |
| Red Hat:enterprise_linux:7::client | emacs-git | before 0:1.8.3.1-23.el7_8 | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | emacs-git-el | before 0:1.8.3.1-23.el7_8 | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git | before 0:1.8.3.1-23.el7_8 | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-all | before 0:1.8.3.1-23.el7_8 | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-bzr | before 0:1.8.3.1-23.el7_8 | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-cvs | before 0:1.8.3.1-23.el7_8 | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-daemon | before 0:1.8.3.1-23.el7_8 | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-debuginfo | before 0:1.8.3.1-23.el7_8 | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-email | before 0:1.8.3.1-23.el7_8 | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-gnome-keyring | before 0:1.8.3.1-23.el7_8 | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-gui | before 0:1.8.3.1-23.el7_8 | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-hg | before 0:1.8.3.1-23.el7_8 | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-instaweb | before 0:1.8.3.1-23.el7_8 | 0:1.8.3.1-23.el7_8 |
+96
Same product
git-scm: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-17456Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1 allows…68This week
- CVE-2025-48384Git allows arbitrary code execution through broken config quotingKEV63This week
- CVE-2021-21300malicious repositories can execute remote code while cloning60This week
Published before and after this one in the same product
- ← EarlierCVE-2019-1348Jan 24, 2020 · An issue was found in Git before v2.24.1, v2.23.1, v2.22.2, v2.21.1, v2.20.2, v2.19.3, v2.18.2, v2.17.3, v2.16.6, v2.15.4, and v2.14.6.13Monitor
- ← EarlierCVE-2019-1353Jan 24, 2020 · An issue was found in Git before v2.24.1, v2.23.1, v2.22.2, v2.21.1, v2.20.2, v2.19.3, v2.18.2, v2.17.3, v2.16.6, v2.15.4, and v2.14.6.40Plan
- Later →CVE-2021-40330Aug 31, 2021 · git_connect_git in connect.c in Git before 2.30.1 allows a repository path to contain a newline character, which may result in unexpected…31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:git | 2.22.4-r0 · Alpine:v3.10 | Package registry (OSV) |
| debian:git | 1:2.26.2-1 · Debian:12 | Package registry (OSV) |
| opensuse:git | 2.26.1-lp151.4.9.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| red hat:rh-git218-git | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-git218-git-all | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-git218-git-core | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-git218-git-core-doc | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-git218-git-cvs | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-git218-git-daemon | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-git218-git-debuginfo | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-git218-git-email | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-git218-git-gui | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-git218-git-instaweb | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-git218-git-p4 | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-git218-git-subtree | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| suse:git | 2.26.1-3.25.2 · SUSE:Linux Enterprise Module for Basesystem 15 SP1 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-20-905 · Oct 30, 2020(OpenShift Güvenlik Güncellemesi)
- TR-20-300 · May 4, 2020(Git Güvenlik Güncellemesi Yayınladı)
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (11 more)Show less
- seclists.org/fulldisclosure/2020/May/41
- github.com/git/git/commit/c44088ecc4b0722636e0a305f9608d3047197282
- github.com/git/git/security/advisories/GHSA-hjc9-x69f-jqj7
- github.com/git/git/security/advisories/GHSA-qm7j-c969-7j4q
- lists.debian.org/debian-lts-announce/2020/04/msg00015.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/74Q7WVJ6FKLIN62VS2JD2XCNWK5TNKOW/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MOCTR2SEHCPSCOVUQJAGFPGKFMI2VE6V/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PN3FUOXKX3AXTULYV53ACABER2W2FSOU/
- security.gentoo.org/glsa/202004-13
- support.apple.com/kb/HT211183
- usn.ubuntu.com/4334-1/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.