Information Disclosure in go-git by the Vendor
CVE-2026-41506

4.7MEDIUM

Key Information:

Vendor

Go-git

Status
Vendor
CVE Published:
8 May 2026

What is CVE-2026-41506?

The go-git library, known for its extensibility and written in pure Go, has a vulnerability that allows the potential leakage of HTTP authentication credentials. This occurs during smart-HTTP clone and fetch operations when following redirects. Users of versions prior to 5.18.0 and 6.0.0-alpha.2 are particularly susceptible, but this issue has been addressed in the mentioned updates.

Affected Version(s)

go-git < 5.18.0 < 5.18.0

go-git < 6.0.0-alpha.2 < 6.0.0-alpha.2

References

CVSS V3.1

Score:
4.7
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.