CVE-2026-41506

MEDIUM4.7EPSS 0.07%

go-git: Credential leak via cross-host redirect in smart HTTP transport

Published: 4/17/2026Modified: 6/2/2026
Also known as:DEBIAN-CVE-2026-41506

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.

Affected packages (4)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM4.7CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N

References (6)