Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2020-5260

published critical CVSS 3.1 · 9.3

malicious URLs may cause Git to present stored credentials to the wrong server

Published
14 Apr 2020, 22:50:12 UTC
Updated
04 Aug 2024, 08:22:09 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
git — git< 2.17.4 · >= 2.18.0, < 2.18.3 · >= 2.19.0, 2.19.4 · >= 2.20.0, < 2.20.3 · >= 2.21.0, < 2.21.2 · >= 2.22.0, < 2.22.3 · >= 2.23.0, < 2.23.2 · >= 2.24.0, < 2.24.2 · >= 2.25.0, < 2.25.3 · >= 2.26.0, < 2.26.1 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluationALAS2-2020-1409 Fixed Not stated Amazon Linux assessment
Alpine Linux edge git Fixed 2.26.1-r0 Package fix record
Debian buster git Advisory build 1:2.20.1-2+deb10u2 DSA-4657-1
Oracle Linux 7 gitaarch64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Red Hat Enterprise Linux RHEL-7 gitppc64 Advisory build 1.8.3.1-22.el7_8 RHSA-2020:1511
SUSE / openSUSE SLE-12-SP4 gitaarch64 Advisory build 2.26.0-27.27.1 SUSE-SU-2020:0992-1
Ubuntu bionic git Advisory build 1:2.17.1-1ubuntu0.6 USN-4329-1
Show 94 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.10 git Fixed 2.22.3-r0 Package fix record
Alpine Linux v3.11 git Fixed 2.24.2-r0 Package fix record
Alpine Linux v3.12 git Fixed 2.26.1-r0 Package fix record
Alpine Linux v3.13 git Fixed 2.26.1-r0 Package fix record
Alpine Linux v3.14 git Fixed 2.26.1-r0 Package fix record
Alpine Linux v3.15 git Fixed 2.26.1-r0 Package fix record
Alpine Linux v3.16 git Fixed 2.26.1-r0 Package fix record
Alpine Linux v3.17 git Fixed 2.26.1-r0 Package fix record
Alpine Linux v3.18 git Fixed 2.26.1-r0 Package fix record
Alpine Linux v3.19 git Fixed 2.26.1-r0 Package fix record
Alpine Linux v3.20 git Fixed 2.26.1-r0 Package fix record
Alpine Linux v3.21 git Fixed 2.26.1-r0 Package fix record
Alpine Linux v3.22 git Fixed 2.26.1-r0 Package fix record
Alpine Linux v3.23 git Fixed 2.26.1-r0 Package fix record
Alpine Linux v3.24 git Fixed 2.26.1-r0 Package fix record
Alpine Linux v3.8 git Fixed 2.18.3-r0 Package fix record
Alpine Linux v3.9 git Fixed 2.20.3-r0 Package fix record
Debian jessie git Advisory build 1:2.1.4-2.1+deb8u9 DLA-2177-1
Debian stretch git Advisory build 1:2.11.0-3+deb9u6 DSA-4657-1
Oracle Linux 7 gitx86_64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 8 gitaarch64 Advisory build 0:2.18.2-2.el8_1 ELSA-2020-1513
Oracle Linux 8 gitx86_64 Advisory build 0:2.18.2-2.el8_1 ELSA-2020-1513
Red Hat Enterprise Linux RHEL-7 gitppc64 Advisory build 1.8.3.1-23.el7_7 RHSA-2020:3581
Red Hat Enterprise Linux RHEL-7 gitppc64le Advisory build 1.8.3.1-22.el7_8 RHSA-2020:1511
Red Hat Enterprise Linux RHEL-7 gitppc64le Advisory build 1.8.3.1-23.el7_7 RHSA-2020:3581
Red Hat Enterprise Linux RHEL-7 gits390x Advisory build 1.8.3.1-22.el7_8 RHSA-2020:1511
Red Hat Enterprise Linux RHEL-7 gits390x Advisory build 1.8.3.1-23.el7_7 RHSA-2020:3581
Red Hat Enterprise Linux RHEL-7 gitsrc Advisory build 1.8.3.1-22.el7_8 RHSA-2020:1511
Red Hat Enterprise Linux RHEL-7 gitsrc Advisory build 1.8.3.1-23.el7_7 RHSA-2020:3581
Red Hat Enterprise Linux RHEL-7 gitx86_64 Advisory build 1.8.3.1-22.el7_8 RHSA-2020:1511
Red Hat Enterprise Linux RHEL-7 gitx86_64 Advisory build 1.8.3.1-23.el7_7 RHSA-2020:3581
Red Hat Enterprise Linux RHEL-8 gitaarch64 Advisory build 2.18.2-2.el8_1 RHSA-2020:1513
Red Hat Enterprise Linux RHEL-8 gitppc64le Advisory build 2.18.2-2.el8_0 RHSA-2020:1518
Red Hat Enterprise Linux RHEL-8 gitppc64le Advisory build 2.18.2-2.el8_1 RHSA-2020:1513
Red Hat Enterprise Linux RHEL-8 gits390x Advisory build 2.18.2-2.el8_1 RHSA-2020:1513
Red Hat Enterprise Linux RHEL-8 gitsrc Advisory build 2.18.2-2.el8_0 RHSA-2020:1518
Red Hat Enterprise Linux RHEL-8 gitsrc Advisory build 2.18.2-2.el8_1 RHSA-2020:1513
Red Hat Enterprise Linux RHEL-8 gitx86_64 Advisory build 2.18.2-2.el8_0 RHSA-2020:1518
Red Hat Enterprise Linux RHEL-8 gitx86_64 Advisory build 2.18.2-2.el8_1 RHSA-2020:1513
SUSE / openSUSE SLE-12-SP4 gitaarch64 Advisory build 2.26.2-27.36.1 SUSE-SU-2020:1295-1
SUSE / openSUSE SLE-12-SP4 gitppc64le Advisory build 2.26.0-27.27.1 SUSE-SU-2020:0992-1
SUSE / openSUSE SLE-12-SP4 gitppc64le Advisory build 2.26.2-27.36.1 SUSE-SU-2020:1295-1
SUSE / openSUSE SLE-12-SP4 gits390x Advisory build 2.26.0-27.27.1 SUSE-SU-2020:0992-1
SUSE / openSUSE SLE-12-SP4 gits390x Advisory build 2.26.2-27.36.1 SUSE-SU-2020:1295-1
SUSE / openSUSE SLE-12-SP4 gitx86_64 Advisory build 2.26.0-27.27.1 SUSE-SU-2020:0992-1
SUSE / openSUSE SLE-12-SP4 gitx86_64 Advisory build 2.26.2-27.36.1 SUSE-SU-2020:1295-1
SUSE / openSUSE SLE-12-SP5 gitaarch64 Advisory build 2.26.0-27.27.1 SUSE-SU-2020:0992-1
SUSE / openSUSE SLE-12-SP5 gitaarch64 Advisory build 2.26.2-27.36.1 SUSE-SU-2020:1295-1
SUSE / openSUSE SLE-12-SP5 gitppc64le Advisory build 2.26.0-27.27.1 SUSE-SU-2020:0992-1
SUSE / openSUSE SLE-12-SP5 gitppc64le Advisory build 2.26.2-27.36.1 SUSE-SU-2020:1295-1
SUSE / openSUSE SLE-12-SP5 gits390x Advisory build 2.26.0-27.27.1 SUSE-SU-2020:0992-1
SUSE / openSUSE SLE-12-SP5 gits390x Advisory build 2.26.2-27.36.1 SUSE-SU-2020:1295-1
SUSE / openSUSE SLE-12-SP5 gitx86_64 Advisory build 2.26.0-27.27.1 SUSE-SU-2020:0992-1
SUSE / openSUSE SLE-12-SP5 gitx86_64 Advisory build 2.26.2-27.36.1 SUSE-SU-2020:1295-1
SUSE / openSUSE SLE-15 gitaarch64 Advisory build 2.16.4-3.20.1 SUSE-SU-2020:0991-1
SUSE / openSUSE SLE-15 gitppc64le Advisory build 2.16.4-3.20.1 SUSE-SU-2020:0991-1
SUSE / openSUSE SLE-15 gits390x Advisory build 2.16.4-3.20.1 SUSE-SU-2020:0991-1
SUSE / openSUSE SLE-15 gitx86_64 Advisory build 2.16.4-3.20.1 SUSE-SU-2020:0991-1
SUSE / openSUSE SLE-15-SP1 gitaarch64 Advisory build 2.16.4-3.20.1 SUSE-SU-2020:0991-1
SUSE / openSUSE SLE-15-SP1 gitaarch64 Advisory build 2.26.1-3.25.2 SUSE-SU-2020:1121-1
SUSE / openSUSE SLE-15-SP1 gitppc64le Advisory build 2.16.4-3.20.1 SUSE-SU-2020:0991-1
SUSE / openSUSE SLE-15-SP1 gitppc64le Advisory build 2.26.1-3.25.2 SUSE-SU-2020:1121-1
SUSE / openSUSE SLE-15-SP1 gits390x Advisory build 2.16.4-3.20.1 SUSE-SU-2020:0991-1
SUSE / openSUSE SLE-15-SP1 gits390x Advisory build 2.26.1-3.25.2 SUSE-SU-2020:1121-1
SUSE / openSUSE SLE-15-SP1 gitx86_64 Advisory build 2.16.4-3.20.1 SUSE-SU-2020:0991-1
SUSE / openSUSE SLE-15-SP1 gitx86_64 Advisory build 2.26.1-3.25.2 SUSE-SU-2020:1121-1
SUSE / openSUSE openSUSE-Leap-15.1 giti586 Advisory build 2.16.4-lp151.4.6.1 OPENSUSE-SU-2020:0524-1
SUSE / openSUSE openSUSE-Leap-15.1 gitx86_64 Advisory build 2.16.4-lp151.4.6.1 OPENSUSE-SU-2020:0524-1
SUSE / openSUSE openSUSE-Leap-15.1 gitx86_64 Advisory build 2.26.1-lp151.4.9.1 OPENSUSE-SU-2020:0598-1
SUSE / openSUSE openSUSE-Tumbleweed gitaarch64 Advisory build 2.33.0-1.3 OPENSUSE-SU-2024:10786-1
SUSE / openSUSE openSUSE-Tumbleweed gitppc64le Advisory build 2.33.0-1.3 OPENSUSE-SU-2024:10786-1
SUSE / openSUSE openSUSE-Tumbleweed gits390x Advisory build 2.33.0-1.3 OPENSUSE-SU-2024:10786-1
SUSE / openSUSE openSUSE-Tumbleweed gitx86_64 Advisory build 2.33.0-1.3 OPENSUSE-SU-2024:10786-1
Ubuntu xenial git Advisory build 1:2.7.4-0ubuntu1.8 USN-4329-1
Oracle Linux 7 emacs-gitaarch64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 7 emacs-gitx86_64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 7 emacs-git-elaarch64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 7 emacs-git-elx86_64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 7 git-allaarch64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 7 git-allx86_64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 7 git-bzraarch64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 7 git-bzrx86_64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 7 git-cvsaarch64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 7 git-cvsx86_64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 7 git-daemonaarch64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 7 git-daemonx86_64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 7 git-emailaarch64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 7 git-emailx86_64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 7 git-gnome-keyringaarch64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 7 git-gnome-keyringx86_64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 7 git-guiaarch64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 7 git-guix86_64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 7 git-hgaarch64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511
Oracle Linux 7 git-hgx86_64 Advisory build 0:1.8.3.1-22.el7_8 ELSA-2020-1511

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

Affected versions of Git have a vulnerability whereby Git can be tricked into sending private credentials to a host controlled by an attacker. 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 contain an encoded newline can inject unintended values into the credential helper protocol stream, causing the credential helper to retrieve the password for one server (e.g., good.example.com) for an HTTP request being made to another server (e.g., evil.example.com), resulting in credentials for the former being sent to the latter. There are no restrictions on the relationship between the two, meaning that an attacker can craft a URL that will present stored credentials for any host to a host of their choosing. 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 problem has been patched in the versions published on April 14th, 2020, going back to v2.17.x. Anyone wishing to backport the change further can do so by applying commit 9a6bbee (the full release includes extra checks for git fsck, but that commit is sufficient to protect clients against the vulnerability). The patched versions are: 2.17.4, 2.18.3, 2.19.4, 2.20.3, 2.21.2, 2.22.3, 2.23.2, 2.24.2, 2.25.3, 2.26.1.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

47

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.3 / 10
Severity
critical
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
git git < 2.17.4 (affected)>= 2.18.0, < 2.18.3 (affected)>= 2.19.0, 2.19.4 (affected)>= 2.20.0, < 2.20.3 (affected)>= 2.21.0, < 2.21.2 (affected)>= 2.22.0, < 2.22.3 (affected)>= 2.23.0, < 2.23.2 (affected)>= 2.24.0, < 2.24.2 (affected)>= 2.25.0, < 2.25.3 (affected)>= 2.26.0, < 2.26.1 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-20 CWE-20: Improper Input Validation (GitHub_M · cna)

References

19

Provider assertions

2

GitHub_M · cna

malicious URLs may cause Git to present stored credentials to the wrong server

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
548b4fd54319e18095913728ec387da05a393b175775acc13ba43c4799b417a7
Ingested
23 Sep 2026, 07:51:02 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected