Description
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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| go-git | go-git | < 5.18.0, < 6.0.0-alpha.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | golang-github-go-git-go-git | 5.19.1-1 | — |
| Debian 14 | golang-github-go-git-go-git-v6 | 6.0.0~alpha4-1 | — |
| Debian 13 | golang-github-go-git-go-git | No fix yet | — |
| Debian 12 | golang-github-go-git-go-git | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | golang-github-go-git-go-git | No fix yet | — |
| Ubuntu 25.10 | golang-github-go-git-go-git | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | golang-github-go-git-go-git | No fix yet | — |
| Ubuntu Pro 24.04 LTS | golang-github-go-git-go-git | No fix yet | — |
| Ubuntu Pro 22.04 LTS | golang-github-go-git-go-git | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | syft | 1.44.0-0.3.hum1 | RHSA-2026:17669 |
| Red Hat Hardened Images 1 | trivy | 0.72.0-0.1.hum1 | RHSA-2026:35111 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | alloy | 1.18.0-150700.15.26.1 | SUSE-SU-2026:4210-1 |
| SLES 15 SP7 | amazon-ssm-agent | 3.3.4624.0-150000.5.37.1 | SUSE-SU-2026:2467-1 |
| SLES 15 SP6 | amazon-ssm-agent | 3.3.4624.0-150000.5.37.1 | SUSE-SU-2026:2467-1 |
| SLES 15 SP5 | amazon-ssm-agent | 3.3.4624.0-150000.5.37.1 | SUSE-SU-2026:2467-1 |
| SLES 15 SP5 | terraform-provider-aws | 3.11.0-150200.6.18.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP5 | terraform-provider-azurerm | 2.32.0-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP5 | terraform-provider-external | 2.0.0-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP5 | terraform-provider-google | 3.43.0-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP5 | terraform-provider-helm | 2.9.0-150200.6.23.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP5 | terraform-provider-kubernetes | 1.13.2-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP5 | terraform-provider-local | 2.0.0-150200.6.17.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP5 | terraform-provider-null | 3.0.0-150200.6.18.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP5 | terraform-provider-random | 3.0.0-150200.6.15.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP5 | terraform-provider-tls | 3.0.0-150200.5.15.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP4 | amazon-ssm-agent | 3.3.4624.0-150000.5.37.1 | SUSE-SU-2026:2467-1 |
| SLES 15 SP4 | terraform-provider-aws | 3.11.0-150200.6.18.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP4 | terraform-provider-azurerm | 2.32.0-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP4 | terraform-provider-external | 2.0.0-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP4 | terraform-provider-google | 3.43.0-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP4 | terraform-provider-helm | 2.9.0-150200.6.23.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP4 | terraform-provider-kubernetes | 1.13.2-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP4 | terraform-provider-local | 2.0.0-150200.6.17.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP4 | terraform-provider-null | 3.0.0-150200.6.18.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP4 | terraform-provider-random | 3.0.0-150200.6.15.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP4 | terraform-provider-tls | 3.0.0-150200.5.15.1 | SUSE-SU-2026:3056-1 |
| SLES 12 | amazon-ssm-agent | 3.3.4624.0-4.49.1 | SUSE-SU-2026:2468-1 |
| SLES 12 | google-osconfig-agent | 20260615.01-1.47.1 | SUSE-SU-2026:2665-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | alloy | 1.18.0-160000.1.1 | SUSE-SU-2026:23865-1, SUSE-SU-2026:23853-1 |
| SLES for SAP 16.0 | amazon-ssm-agent | 3.3.4624.0-160000.1.1 | SUSE-SU-2026:22157-1 |
| SLES for SAP 16.0 | google-osconfig-agent | 20260615.01-160000.1.2 | SUSE-SU-2026:22558-1 |
| SLES for SAP 16.0 | govulncheck-vulndb | 0.0.20260727T201416-160000.1.1 | SUSE-SU-2026:23227-1, SUSE-SU-2026:23216-1 |
| SLES 16.0 | alloy | 1.18.0-160000.1.1 | SUSE-SU-2026:23865-1, SUSE-SU-2026:23853-1 |
| SLES 16.0 | amazon-ssm-agent | 3.3.4624.0-160000.1.1 | SUSE-SU-2026:22157-1 |
| SLES 16.0 | google-osconfig-agent | 20260615.01-160000.1.2 | SUSE-SU-2026:22558-1 |
| SLES 16.0 | govulncheck-vulndb | 0.0.20260727T201416-160000.1.1 | SUSE-SU-2026:23227-1, SUSE-SU-2026:23216-1 |
| SLE Micro 6.1 | google-osconfig-agent | 20260615.01-slfo.1.1_1.1 | SUSE-SU-2026:22249-1 |
| SLE Micro 6.0 | google-osconfig-agent | 20260615.01-1.1 | SUSE-SU-2026:22242-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | alloy | 1.18.0-1.1 | openSUSE-SU-2026:11438-1 |
| openSUSE Tumbleweed | amazon-ssm-agent | 3.3.4268.0-2.1 | openSUSE-SU-2026:10765-1 |
| openSUSE Tumbleweed | cheat | 5.1.0-2.1 | openSUSE-SU-2026:10967-1 |
| openSUSE Tumbleweed | git-bug | 0.10.1-4.1 | openSUSE-SU-2026:10803-1 |
| openSUSE Tumbleweed | google-osconfig-agent | 20260511.00-1.1 | openSUSE-SU-2026:10771-1 |
| openSUSE Tumbleweed | trivy | 0.70.0-2.1 | openSUSE-SU-2026:10830-1 |
| openSUSE Leap 16.0 | alloy | 1.18.0-160000.1.1 | openSUSE-SU-2026:21899-1 |
| openSUSE Leap 16.0 | amazon-ssm-agent | 3.3.4624.0-160000.1.1 | openSUSE-SU-2026:21079-1 |
| openSUSE Leap 16.0 | google-osconfig-agent | 20260615.01-160000.1.2 | openSUSE-SU-2026:21210-1 |
| openSUSE Leap 16.0 | govulncheck-vulndb | 0.0.20260727T201416-160000.1.1 | openSUSE-SU-2026:21551-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | amazon-ssm-agent | 3.3.4624.0-1.amzn2023 | ALAS2023-2026-1952, ALAS2023-2026-1879 |
| Amazon Linux 2 | amazon-ssm-agent | 3.3.4624.0-1.amzn2 | ALAS2-2026-3809, ALAS2-2026-3378 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | act | 0.2.87-r3 | — |
| Wolfi rolling | apko | 1.2.3-r1 | — |
| Wolfi rolling | argo-cd-3.2 +1 | 3.2.10-r1 | — |
| Wolfi rolling | argo-cd-3.3-compat | 3.3.7-r2 | — |
| Wolfi rolling | argo-events | 1.9.10-r16 | — |
| Wolfi rolling | argo-workflows-3.7 +1 | 3.7.13-r2 | — |
| Wolfi rolling | argo-workflows-4.0 +1 | 4.0.4-r6 | — |
| Wolfi rolling | argocd-image-updater | 1.1.1-r9 | — |
| Wolfi rolling | bom | 0.7.1-r15 | — |
| Wolfi rolling | cerbos +1 | 0.51.0-r18 | — |
| Wolfi rolling | crossplane-2.2-crank | 2.2.0-r9 | — |
| Wolfi rolling | dagger | 0.20.6-r2 | — |
| Wolfi rolling | external-secrets-operator-2.3 | 2.3.0-r1 | — |
| Wolfi rolling | flux-2.7 | 2.7.5-r14 | — |
| Wolfi rolling | flux-2.8 | 2.8.5-r3 | — |
| Wolfi rolling | flux-image-automation-controller | 1.1.1-r12 | — |
| Wolfi rolling | flux-source-controller | 1.8.2-r5 | — |
| Wolfi rolling | gitaly-18.10 | 18.10.4-r3 | — |
| Wolfi rolling | gitaly-18.11 | 18.11.2-r2 | — |
| Wolfi rolling | gitaly-18.6 +9 | No fix yet | — |
| Wolfi rolling | gitaly-18.9 | 18.9.6-r3 | — |
| Wolfi rolling | gitea | 1.25.5-r5 | — |
| Wolfi rolling | gitlab-runner-18.10 +1 | 18.10.1-r3 | — |
| Wolfi rolling | gitlab-runner-18.11 | 18.11.1-r1 | — |
| Wolfi rolling | gitlab-runner-18.9 +1 | 18.9.0-r8 | — |
| Wolfi rolling | gitlab-runner-helper-18.11 | 18.11.2-r0 | — |
| Wolfi rolling | gitsign | 0.14.0-r18 | — |
| Wolfi rolling | gomplate-5 | 5.0.0-r17 | — |
| Wolfi rolling | goreleaser | 2.15.3-r2 | — |
| Wolfi rolling | gptscript | 0.9.9-r108 | — |
| Wolfi rolling | grafana-alloy | 1.15.1-r3 | — |
| Wolfi rolling | grype | 0.111.0-r4 | — |
| Wolfi rolling | guac +2 | 1.1.0-r6 | — |
| Wolfi rolling | k9s | 0.50.18-r20 | — |
| Wolfi rolling | kaniko | 1.25.13-r1 | — |
| Wolfi rolling | kargo | 1.9.6-r3 | — |
| Wolfi rolling | kots | 1.130.0-r7 | — |
| Wolfi rolling | kubescape | 4.0.5-r2 | — |
| Wolfi rolling | kubevela-vela-cli +1 | 1.10.8-r3 | — |
| Wolfi rolling | kyverno-cli-1.17 | 1.17.1-r16 | — |
| Wolfi rolling | melange | 0.50.1-r1 | — |
| Wolfi rolling | nuclei | 3.8.0-r1 | — |
| Wolfi rolling | osv-scanner | 2.3.6-r0 | — |
| Wolfi rolling | pulumi +3 | 3.229.0-r5 | — |
| Wolfi rolling | pulumi-kubernetes-operator | 2.7.0-r2 | — |
| Wolfi rolling | pulumi-language-dotnet | 3.103.0-r1 | — |
| Wolfi rolling | pulumi-language-java | 1.22.0-r5 | — |
| Wolfi rolling | pulumi-language-yaml | 1.31.1-r1 | — |
| Wolfi rolling | rancher-fleet-cli +1 | 0.15.0-r7 | — |
| Wolfi rolling | scorecard | 5.5.0-r0 | — |
| Wolfi rolling | skaffold | 2.18.3-r4 | — |
| Wolfi rolling | snyk-cli | 1.1304.1-r1 | — |
| Wolfi rolling | src-fingerprint | 0.19.0-r48 | — |
| Wolfi rolling | steampipe | 2.4.1-r3 | — |
| Wolfi rolling | syft | 1.42.4-r3 | — |
| Wolfi rolling | teleport-18.6 | 18.6.8-r13 | — |
| Wolfi rolling | terragrunt | 1.1.0-r0 | — |
| Wolfi rolling | tfsec | 1.28.14-r29 | — |
| Wolfi rolling | trivy | 0.69.3-r12 | — |
| Wolfi rolling | trivy-operator | 0.30.1-r6 | — |
| Wolfi rolling | trufflehog | 3.94.3-r3 | — |
| Wolfi rolling | witness | 0.10.2-r21 | — |
| Wolfi rolling | wolfictl | 0.39.10-r1 | — |
| Wolfi rolling | xeol | 0.10.8-r35 | — |
| Wolfi rolling | zarf | 0.75.0-r2 | — |
| Wolfi rolling | zot | 2.1.15-r13 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/go-git/go-git/v5 | < 5.18.0 | 5.18.0 | GHSA-3xc5-wrhm-f963 |
| Go | github.com/go-git/go-git/v6 | < 6.0.0-alpha.2 | 6.0.0-alpha.2 | GHSA-3xc5-wrhm-f963 |
Advisories 29
- RHSA-2026:35111 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:17669 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 10, 2026
- SUSE-SU-2026:23865-1 Security update for alloy SUSE / openSUSE Security Updates · Sep 27, 2026
- SUSE-SU-2026:23853-1 Security update for alloy SUSE / openSUSE Security Updates · Sep 27, 2026
- openSUSE-SU-2026:21899-1 Security update for alloy SUSE / openSUSE Security Updates · Sep 25, 2026
- SUSE-SU-2026:4210-1 Security update for alloy SUSE / openSUSE Security Updates · Sep 16, 2026
- SUSE-SU-2026:23227-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Aug 27, 2026
- SUSE-SU-2026:23216-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Aug 27, 2026
- openSUSE-SU-2026:21551-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Aug 12, 2026
- openSUSE-SU-2026:11438-1 alloy-1.18.0-1.1 on GA media SUSE / openSUSE Security Updates · Aug 4, 2026
- ALAS2-2026-3809 Important: amazon-ssm-agent security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jul 20, 2026
- ALAS2023-2026-1952 Important: amazon-ssm-agent security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 20, 2026
- SUSE-SU-2026:3056-1 Security update for terraform-provider-aws, terraform-provider-azurerm, terraform-provider-external, terraform-provider-google, terraform-provider-helm, terraform-provider-kubernetes, terraform-provider-local, terraform-provider-null, terraform-provider-random, terraform-provider-tls SUSE / openSUSE Security Updates · Jul 16, 2026
- SUSE-SU-2026:22558-1 Security update for google-osconfig-agent SUSE / openSUSE Security Updates · Jul 15, 2026
- openSUSE-SU-2026:21210-1 Security update for google-osconfig-agent SUSE / openSUSE Security Updates · Jul 9, 2026
- openSUSE-SU-2026:21079-1 Security update for amazon-ssm-agent SUSE / openSUSE Security Updates · Jun 30, 2026
- SUSE-SU-2026:2665-1 Security update for google-osconfig-agent SUSE / openSUSE Security Updates · Jun 27, 2026
- SUSE-SU-2026:22249-1 Security update for google-osconfig-agent SUSE / openSUSE Security Updates · Jun 26, 2026
- SUSE-SU-2026:22242-1 Security update for google-osconfig-agent SUSE / openSUSE Security Updates · Jun 26, 2026
- SUSE-SU-2026:22157-1 Security update for amazon-ssm-agent SUSE / openSUSE Security Updates · Jun 24, 2026
- ALAS2-2026-3378 Moderate: amazon-ssm-agent security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jun 22, 2026
- ALAS2023-2026-1879 Moderate: amazon-ssm-agent security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jun 22, 2026
- SUSE-SU-2026:2468-1 Security update for amazon-ssm-agent SUSE / openSUSE Security Updates · Jun 20, 2026
- SUSE-SU-2026:2467-1 Security update for amazon-ssm-agent SUSE / openSUSE Security Updates · Jun 20, 2026
- openSUSE-SU-2026:10967-1 cheat-5.1.0-2.1 on GA media SUSE / openSUSE Security Updates · Jun 9, 2026
- openSUSE-SU-2026:10830-1 trivy-0.70.0-2.1 on GA media SUSE / openSUSE Security Updates · May 21, 2026
- openSUSE-SU-2026:10803-1 git-bug-0.10.1-4.1 on GA media SUSE / openSUSE Security Updates · May 19, 2026
- openSUSE-SU-2026:10771-1 google-osconfig-agent-20260511.00-1.1 on GA media SUSE / openSUSE Security Updates · May 14, 2026
- openSUSE-SU-2026:10765-1 amazon-ssm-agent-3.3.4268.0-2.1 on GA media SUSE / openSUSE Security Updates · May 14, 2026