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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-522"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41506.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "5.18.0"
}
],
"source": "CPE_RANGE"
},
{
"original_tag": "v5.18.0",
"range": [
{
"fixed": "ea3e7ec9dfc54f577a01afb4dd601c0284604264"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v6.0.0-alpha.2",
"range": [
{
"fixed": "137874facf9259abed21263b16fae92bae3b4f21"
}
],
"source": "REFERENCES_TAG"
}
]
}