CVE-2026-53586
libgit2: libgit2: Information disclosure via HTTP redirect allows credential leakage
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 21, 2026
Updated · August 25, 2026
Description
A flaw was found in libgit2. The built-in HTTP transport component incorrectly handles offsite redirects, leading to the disclosure of sensitive information. An attacker controlling a trusted Git host or an open redirect on that host could exploit this by causing the library to send HTTP Basic credentials or personal access tokens to an unintended third-party server. This vulnerability results in the leakage of user authentication credentials.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CWE-201 · Insertion of Sensitive Information Into Sent Data