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-2026-53586

published medium CVSS 3.1 · 6.5

libgit2: HTTP transport can leak credentials to an offsite redirect target

Published
20 Aug 2026, 18:40:08 UTC
Updated
21 Aug 2026, 21:46:05 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
libgit2 — libgit2< 1.8.6 · >= 1.9.0, < 1.9.5 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2-2026-3865 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-2065 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-2083 Fixed Not stated Amazon Linux assessment
Alpine Linux edge libgit2 Fixed 1.9.6-r0 Package fix record
Debian bookworm libgit2 Advisory build 1.5.1+ds-1+deb12u2 DLA-4831-1
Show 37 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu focal libgit2 Advisory build 0.28.4+dfsg.1-2ubuntu0.1+esm1 USN-8628-1
SUSE / openSUSE openSUSE-Tumbleweed libgit2-1_9aarch64 Advisory build 1.9.6-1.1 OPENSUSE-SU-2026:11315-1
Amazon Linux AL2023 libgit2aarch64 Listed in advisory Not stated ALAS2023-2026-2083
Alpine Linux v3.23 libgit2 Fixed 1.9.6-r0 Package fix record
Alpine Linux v3.24 libgit2 Fixed 1.9.6-r0 Package fix record
Debian trixie libgit2 Advisory build 1.9.0+ds-2+deb13u1 DSA-6453-1
Ubuntu jammy libgit2 Advisory build 1.1.0+dfsg.1-4.1ubuntu0.1+esm1 USN-8628-1
Ubuntu noble libgit2 Advisory build 1.7.2+ds-1ubuntu3.1 USN-8628-1
Ubuntu resolute libgit2 Advisory build 1.9.1+ds-1ubuntu1.1 USN-8628-1
SUSE / openSUSE openSUSE-Tumbleweed libgit2-1_9ppc64le Advisory build 1.9.6-1.1 OPENSUSE-SU-2026:11315-1
SUSE / openSUSE openSUSE-Tumbleweed libgit2-1_9s390x Advisory build 1.9.6-1.1 OPENSUSE-SU-2026:11315-1
SUSE / openSUSE openSUSE-Tumbleweed libgit2-1_9x86_64 Advisory build 1.9.6-1.1 OPENSUSE-SU-2026:11315-1
SUSE / openSUSE openSUSE-Tumbleweed libgit2-develaarch64 Advisory build 1.9.6-1.1 OPENSUSE-SU-2026:11315-1
SUSE / openSUSE openSUSE-Tumbleweed libgit2-develppc64le Advisory build 1.9.6-1.1 OPENSUSE-SU-2026:11315-1
SUSE / openSUSE openSUSE-Tumbleweed libgit2-devels390x Advisory build 1.9.6-1.1 OPENSUSE-SU-2026:11315-1
SUSE / openSUSE openSUSE-Tumbleweed libgit2-develx86_64 Advisory build 1.9.6-1.1 OPENSUSE-SU-2026:11315-1
SUSE / openSUSE openSUSE-Tumbleweed libgit2-toolsaarch64 Advisory build 1.9.6-1.1 OPENSUSE-SU-2026:11315-1
SUSE / openSUSE openSUSE-Tumbleweed libgit2-toolsppc64le Advisory build 1.9.6-1.1 OPENSUSE-SU-2026:11315-1
SUSE / openSUSE openSUSE-Tumbleweed libgit2-toolss390x Advisory build 1.9.6-1.1 OPENSUSE-SU-2026:11315-1
SUSE / openSUSE openSUSE-Tumbleweed libgit2-toolsx86_64 Advisory build 1.9.6-1.1 OPENSUSE-SU-2026:11315-1
Ubuntu focal libgit2-28 Advisory build 0.28.4+dfsg.1-2ubuntu0.1+esm1 USN-8628-1
Ubuntu jammy libgit2-1.1 Advisory build 1.1.0+dfsg.1-4.1ubuntu0.1+esm1 USN-8628-1
Ubuntu jammy libgit2-fixtures Advisory build 1.1.0+dfsg.1-4.1ubuntu0.1+esm1 USN-8628-1
Ubuntu noble libgit2-1.7 Advisory build 1.7.2+ds-1ubuntu3.1 USN-8628-1
Ubuntu noble libgit2-fixtures Advisory build 1.7.2+ds-1ubuntu3.1 USN-8628-1
Ubuntu resolute libgit2-1.9 Advisory build 1.9.1+ds-1ubuntu1.1 USN-8628-1
Ubuntu resolute libgit2-fixtures Advisory build 1.9.1+ds-1ubuntu1.1 USN-8628-1
Amazon Linux AL2023 libgit2src Listed in advisory Not stated ALAS2023-2026-2083
Amazon Linux AL2023 libgit2x86_64 Listed in advisory Not stated ALAS2023-2026-2083
Amazon Linux AL2 rustaarch64 Listed in advisory Not stated ALAS2-2026-3865
Amazon Linux AL2 rustnoarch Listed in advisory Not stated ALAS2-2026-3865
Amazon Linux AL2 rustsrc Listed in advisory Not stated ALAS2-2026-3865
Amazon Linux AL2 rustx86_64 Listed in advisory Not stated ALAS2-2026-3865
Amazon Linux AL2023 rustaarch64 Listed in advisory Not stated ALAS2023-2026-2065
Amazon Linux AL2023 rustnoarch Listed in advisory Not stated ALAS2023-2026-2065
Amazon Linux AL2023 rustsrc Listed in advisory Not stated ALAS2023-2026-2065
Amazon Linux AL2023 rustx86_64 Listed in advisory Not stated ALAS2023-2026-2065

Description

libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Prior to 1.8.6 and 1.9.5, the built-in HTTP transport in src/libgit2/transports/http.c follows an offsite initial redirect, and handle_remote_auth and handle_auth pass transport->owner->url instead of transport->server.url to the credential callback when the redirected host returns 401 Unauthorized. A callback that scopes credentials to the original trusted URL can therefore return GIT_CREDENTIAL_USERPASS_PLAINTEXT credentials that libgit2 stores in transport->server.cred and sends as an Authorization header to the redirected host. An attacker who controls a trusted Git host or an open redirect on that host can disclose HTTP Basic credentials, personal access tokens, or equivalent credentials. This issue is fixed in versions 1.8.6 and 1.9.5.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

13

Assessment

CVSS risk assessment and additional context for this vulnerability.

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

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
libgit2 libgit2 < 1.8.6 (affected)>= 1.9.0, < 1.9.5 (affected) GitHub_M · cna

Weaknesses

3
  • CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (GitHub_M · cna)
  • CWE-522 CWE-522: Insufficiently Protected Credentials (GitHub_M · cna)
  • CWE-601 CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (GitHub_M · cna)

References

6

Provider assertions

2

GitHub_M · cna

libgit2: HTTP transport can leak credentials to an offsite redirect target

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
828bd3425ff88c0a97fed17ed145926b074c6583e0cf6d14a51c2a40ef8f83ad
Ingested
23 Sep 2026, 09:19:58 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