Security mailing lists by PureSourceCode

CVE-2026-41506

HIGH 7.4CVSS 3.1

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

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.

Published
8 May 2026
Last modified
11 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-522
Also known as
GHSA-3xc5-wrhm-f963GO-2026-5105
Sources
NVDJSONOSV GHSA-3xc5-wrhm-f963JSONOSV GO-2026-5105JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.7 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.7 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD go-git_project go-git
cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*
< 5.18.0 5.18.0
NVD go-git_project go-git
cpe:2.3:a:go-git_project:go-git:6.0.0:alpha1:*:*:*:go:*:*
= 6.0.0
OSV Go github.com/go-git/go-git/v5 < 5.18.0 5.18.0
OSV Go github.com/go-git/go-git/v6 < 6.0.0-alpha.2 6.0.0-alpha.2

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 8 May 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Jul 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.