CVE-2026-41506: Go-Git Project Go-Git

High severity, CVSS 7.4. EPSS: 0.3% chance of exploitation in the next 30 days.

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 products

  • Go-Git Project Go-Git: before 5.18.0 (fixed in 5.18.0); version 6.0.0 only

Published 2026-05-08. Last modified 2026-06-17.