Insufficiently protected credentials in go-git - #VU126456

 

Insufficiently protected credentials in go-git - #VU126456

Published: April 17, 2026


Vulnerability identifier: #VU126456
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-522
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: go-git
Affected software:
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.


Remediation

Install security update from vendor's website.

Sources