CVE 4.7 MEDIUM

go-git Credential leak via cross-host redirect in smart HTTP transport_CVE-2026-41506

4.7 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N

Description

go-git is an extensible git implementation library written in pure Go. Prior to versions 5.18.0 and 6.0.0-alpha.2, go-git may leak HTTP authentication credentials when following redirects during smart-HTTP clone and fetch operations. This issue has been patched in versions 5.18.0 and 6.0.0-alpha.2.

Basic Information

ID CVE-2026-41506
Source GitHub_M
Published May 8, 2026 at 13:43

Affected Product

Vendor go-git
Product go-git
Version < 5.18.0
Affected Versions go-git go-git < 5.18.0
go-git go-git < 6.0.0-alpha.2

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.