Show vulnerabilities with patch / with exploit

Insufficiently protected credentials in Git

Published: 2020-04-15 | Updated: 2020-04-23
Severity Medium
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2020-5260
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Client/Desktop applications / Software for system administration

Vendor Git

Security Advisory

This security advisory describes one medium risk vulnerability.

1) Insufficiently protected credentials

Severity: Medium

CVSSv3: 6.7 [CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P/RL:O/RC:C] [PCI]

CVE-ID: CVE-2020-5260

CWE-ID: CWE-522 - Insufficiently Protected Credentials

Exploit availability: Yes [Search exploit]


The vulnerability allows a remote attacker to gain access to sensitive information on the system.

The vulnerability exists due to the Git can be tricked into sending private credentials to a host controlled by an attacker. A remote attacker can send a specially crafted URL to "git clone" that will present stored credentials for any host to a host of their choosing.


Install updates from vendor's website.

Vulnerable software versions

Git: 2.17.0, 2.17.1, 2.17.2, 2.17.3, 2.18.0, 2.18.1, 2.18.2, 2.19.0, 2.19.1, 2.19.2, 2.19.3, 2.20.0, 2.20.1, 2.20.2, 2.21.0, 2.21.1, 2.22.0, 2.22.1, 2.22.2, 2.23.0, 2.23.1, 2.24.0, 2.24.1, 2.25.0, 2.25.1, 2.25.2, 2.26.0

CPE External links

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.