CVE-2026-41506

Severity CVSS v4.0:
Pending analysis
Type:
CWE-522 Insufficiently Protected Credentials
Publication date:
08/05/2026
Last modified:
12/05/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:* 5.18.0 (excluding)
cpe:2.3:a:go-git_project:go-git:6.0.0:alpha1:*:*:*:go:*:*