Credential Disclosure Vulnerability in libgit2 by GitHub
CVE-2026-53586

6.5MEDIUM

Key Information:

Vendor

Libgit2

Status
Vendor
CVE Published:
20 August 2026

What is CVE-2026-53586?

The libgit2 library allows developers to integrate Git functionality into applications. In versions prior to 1.8.6 and 1.9.5, a vulnerability exists in the HTTP transport handling, where redirecting hosts can lead to unauthorized disclosure of sensitive credentials such as HTTP Basic passwords or personal access tokens. This occurs due to the method of passing URLs during credential callbacks, which can expose user credentials to potentially malicious redirect targets. Users are advised to update to the latest versions to mitigate this risk.

Affected Version(s)

libgit2 < 1.8.6 < 1.8.6

libgit2 >= 1.9.0, < 1.9.5 < 1.9.0, 1.9.5

References

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.