Read the docs
TI-2026-30091 Aliases CVE-2026-41506GHSA-3xc5-wrhm-f963

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

Priority LOW 32CWE-522Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 2 fixed, 39 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-522.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00259 17th percentileScored 2026-11-07
Fix Partial go-git (go-git): 5.18.0, 6.0.0-alpha.2github.com/go-git/go-git/v5 (Go): 5.18.0+1 more productRed Hat: 3 advisoriesRed Hat: 2 fixed, 39 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
go-gitgo-gitbefore 5.18.0; before 6.0.0-alpha.25.18.0, 6.0.0-alpha.2Patch availableCNA
—github.com/go-git/go-git/v5 (Go)before 5.18.05.18.0Patch availableGHSA-3xc5-wrhm-f963
—github.com/go-git/go-git/v6 (Go)before 6.0.0-alpha.26.0.0-alpha.2Patch availableGHSA-3xc5-wrhm-f963
  • go-git Vendorgo-git Affected before 5.18.0; before 6.0.0-alpha.2 Fixed in 5.18.0, 6.0.0-alpha.2 Patch available CNA
  • github.com/go-git/go-git/v5 (Go) Vendor— Affected before 5.18.0 Fixed in 5.18.0 Patch available GHSA-3xc5-wrhm-f963
  • github.com/go-git/go-git/v6 (Go) Vendor— Affected before 6.0.0-alpha.2 Fixed in 6.0.0-alpha.2 Patch available GHSA-3xc5-wrhm-f963

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*before 5.18.0Vulnerablego-git
cpe:2.3:a:go-git_project:go-git:6.0.0:alpha1:*:*:*:go:*:*6.0.0 alpha1Vulnerablego-git
  • cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:* Versions before 5.18.0 Vulnerable ·go-git
  • cpe:2.3:a:go-git_project:go-git:6.0.0:alpha1:*:*:*:go:*:* Versions 6.0.0 alpha1 Vulnerable ·go-git

Remediation

  • Fix · CNA go-git (go-git) Fixed in 5.18.0, 6.0.0-alpha.2
  • Fix · GHSA-3xc5-wrhm-f963 github.com/go-git/go-git/v5 (Go) Fixed in 5.18.0 Advisory →
  • Fix · GHSA-3xc5-wrhm-f963 github.com/go-git/go-git/v6 (Go) Fixed in 6.0.0-alpha.2 Advisory →

Red Hat 3 advisories

  • RHSA-2026:37387 Released 2026-07-09 · Red Hat rating Important
    Red Hat OpenShift Data Foundation 4.22.0 security, enhancement & bug fix update
    • Red Hat Openshift Data Foundation 4.22 registry.redhat.io/odf4/cephcsi-rhel9, registry.redhat.io/odf4/cephcsi-rhel9-operator, registry.redhat.io/odf4/devicefinder-rhel9 +24
  • RHSA-2026:35111 Released 2026-07-02 · Red Hat rating Important
    Red Hat Hardened Images RPMs Security Update
    • Red Hat Hardened Images trivy-0.72.0-0.1.hum1@aarch64, trivy-0.72.0-0.1.hum1@src, trivy-0.72.0-0.1.hum1@x86_64
  • RHSA-2026:17669 Released 2026-05-14 · Red Hat rating Moderate
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images syft-1.44.0-0.3.hum1@aarch64, syft-1.44.0-0.3.hum1@src, syft-1.44.0-0.3.hum1@x86_64

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Assisted Installer for Red Hat OpenShift Container Platform 2AffectedNo fix yet: Fix deferred
Builds for Red Hat OpenShiftAffectedNo fix yet: Fix deferred
Confidential Compute AttestationAffectedNo fix yet: Fix deferred
Exploit IntelligenceAffectedNo fix yet: Fix deferred
External Secrets Operator for Red Hat OpenShiftAffectedNo fix yet: Fix deferred
Kernel Module Management Operator for Red Hat OpenshiftAffectedNo fix yet: Fix deferred
Logging Subsystem for Red Hat OpenShiftAffectedNo fix yet: Fix deferred
Logical Volume Manager StorageAffectedNo fix yet: Fix deferred
Machine Deletion Remediation OperatorAffectedNo fix yet: Fix deferred
Migration Toolkit for ContainersAffectedNo fix yet: Fix deferred
Migration Toolkit for VirtualizationAffectedNo fix yet: Fix deferred
Multicluster Engine for KubernetesAffectedNo fix yet: Fix deferred
Node HealthCheck OperatorAffectedNo fix yet: Fix deferred
OpenShift API for Data ProtectionAffectedNo fix yet: Fix deferred
OpenShift Developer Tools and ServicesAffectedNo fix yet: Fix deferred
OpenShift PipelinesAffectedNo fix yet: Fix deferred
OpenShift ServerlessAffectedNo fix yet: Fix deferred
OpenShift Service Mesh 2AffectedNo fix yet: Fix deferred
OpenShift Service Mesh 3AffectedNo fix yet: Fix deferred
Pen Drive Powered by Red Hat LightspeedAffectedNo fix yet: Fix deferred
Power monitoring for Red Hat OpenShiftAffectedNo fix yet: Fix deferred
Red Hat AI Inference ServerAffectedNo fix yet: Fix deferred
Red Hat Advanced Cluster Management for Kubernetes 2AffectedNo fix yet: Fix deferred
Red Hat Advanced Cluster Security 4AffectedNo fix yet: Fix deferred
Red Hat Ansible Automation Platform 2AffectedNo fix yet: Fix deferred
Red Hat Build of KueueAffectedNo fix yet: Fix deferred
Red Hat Ceph Storage 9AffectedNo fix yet: Fix deferred
Red Hat Edge Manager 1AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat OpenShift Dev Workspaces OperatorAffectedNo fix yet: Fix deferred
Red Hat OpenShift GitOpsAffectedNo fix yet: Fix deferred
Red Hat OpenShift Virtualization 4AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 16.2AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 17.1AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 18.0AffectedNo fix yet: Fix deferred
Red Hat Trusted Artifact SignerAffectedNo fix yet: Fix deferred
Red Hat Hardened ImagesFixed RHSA-2026:17669, RHSA-2026:35111
Red Hat Openshift Data Foundation 4.22Fixed RHSA-2026:37387
Not affected: 1 product
  • Red Hat Openshift Data Foundation 4.22

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-41506
  2. 2026-10-03 Alias added: GHSA-3xc5-wrhm-f963

References

  • TI-2023-27070 Maliciously crafted Git server replies can lead to path traversal and RCE on go-git clients CVSS 3.1CRITICAL 9.8
  • TI-2025-15573 go-git has an Argument Injection via the URL field CVSS 4.0CRITICAL 9.2
  • TI-2025-15574 go-git clients vulnerable to DoS via maliciously crafted Git server replies CVSS 3.1HIGH 7.5
  • TI-2023-27069 Maliciously crafted Git server replies can cause DoS on go-git clients CVSS 3.1HIGH 7.5
  • TI-2026-32877 go-git: Improper parsing of specially crafted objects may lead to inconsistent interpretation compared to upstream Git CVSS 4.0HIGH 7.0
  • TI-2026-33320 go-git: Crafted repositories may modify main and submodule .git directories CVSS 3.1MEDIUM 5.4
See all 10 →

Sources