CVE catalog

CVE-2026-41506

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

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.26% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangolang-github-go-git-go-gitsid5.19.2-2fixed
Debiangolang-github-go-git-go-gitforky5.19.2-2fixed
Debiangolang-github-go-git-go-gittrixie5.14.0-1vulnerable
Debiangolang-github-go-git-go-gitbookworm5.4.2-3vulnerable
Cpegolang-github-go-git-go-gitNot reportedNot reportedvulnerable
Cpego-gitNot reported5.18.0fixed
Cpego-gitNot reportedNot reportedunknown
Gogithub.com/go-git/go-git/v5Not reported5.18.0fixed
Opensuseamazon-ssm-agenttumbleweed3.3.4268.0-2.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangolang-github-go-git-go-gitsourcesid5.19.1-1not yet assignedNot reported[1136095]
Debiangolang-github-go-git-go-gitsourceforky5.19.1-1not yet assignedNot reported[1136095]
Debiangolang-github-go-git-go-gitsourcetrixie(unfixed)not yet assignedNot reported[1136095]
Debiangolang-github-go-git-go-gitsourcebookworm(unfixed)not yet assignedNot reported[1136095]
Cpego-gitcpeNot reported5.18.0Not reportedNot reportedNot reported
Gogithub.com/go-git/go-git/v5GoNot reported5.18.0Not reportedNot reportedNot reported
Opensuseamazon-ssm-agentrpmtumbleweed3.3.4268.0-2.1Not reportedOPENSUSE-SU-2026:10765-1Not reported

[Debian bug #1136095]

Notes

[trixie] golang-github-go-git-go-git: Minor issue [bookworm] golang-github-go-git-go-git: Limited support, minor issue; credential leak on cross-host redirect

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [go-git]Affected

    Source package: [golang-github-go-git-go-git]

    Details (2)
    • 5.4.2-3+b7 · amd64 · bookworm

      Affected

      nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12

    • 5.4.2-3+b7 · arm64 · bookworm

      Affected

      nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12

  • Source package: [golang-github-go-git-go-git]

    Details (2)
    • 5.4.2-3 · all · bookworm

      Affected

      nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12

    • 5.4.2-3 · all · bookworm

      Affected

      nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12

[Debian 13 (Trixie)]

  • [go-git]Affected

    Source package: [golang-github-go-git-go-git]

    Details (2)
    • 5.14.0-1+b3 · amd64 · trixie

      Affected

      nvd · golang-github-go-git-go-git · debian · 13

    • 5.14.0-1+b3 · arm64 · trixie

      Affected

      nvd · golang-github-go-git-go-git · debian · 13

  • Source package: [golang-github-go-git-go-git]

    Details (2)
    • 5.14.0-1 · all · trixie

      Affected

      nvd · golang-github-go-git-go-git · debian · 13

    • 5.14.0-1 · all · trixie

      Affected

      nvd · golang-github-go-git-go-git · debian · 13

[openSUSE Tumbleweed]

  • Source package: [amazon-ssm-agent]

    Details (1)
    • 3.3.4851.0-1.1 · x86_64 · tumbleweed

      Fixed · Fixed: 3.3.4268.0-2.1

      nvd · amazon-ssm-agent · opensuse · tumbleweed

Observed:

References