Insufficiently protected credentials in go-git - #VU126456
Published: April 17, 2026
go-git
Detailed vulnerability description
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to insufficiently protected credentials in smart HTTP transport when following a cross-host redirect during smart-HTTP clone and fetch operations. A remote attacker can cause the client to follow a redirect to a different host and capture reused HTTP authentication credentials to disclose sensitive information.
User interaction is required to initiate the clone or fetch operation, and the issue occurs when the initial /info/refs request is redirected to a different host.