CVSS 3.1
7.4 highCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:NHigh (7.4) in go-git project go-git. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/go-git/go-git/v5 5.18.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:Ngithub.com/go-git/go-git/v5 (Go): fixed in 5.18.0github.com/go-git/go-git/v6 (Go): fixed in 6.0.0-alpha.2Explain CVE-2026-41506 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-41506?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-41506?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-41506 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| go-git_project:go-git | before 5.18.0 |
| go-git_project:go-git | 6.0.0:alpha1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-3xc5-wrhm-f963 | 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 |
| GO-2026-5105 | Go | github.com/go-git/go-git/v5 | <5.18.0 | 5.18.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | golang-github-go-git-go-git | no fix listed | DEBIAN-CVE-2026-41506 |
| Debian | 14 | golang-github-go-git-go-git | 5.19.1-1 | DEBIAN-CVE-2026-41506 |
| Debian | 14 | golang-github-go-git-go-git-v6 | 6.0.0~alpha4-1 | DEBIAN-CVE-2026-41506 |
| Ubuntu | 25.10, 26.10, Pro:22.04:LTS and 2 more | golang-github-go-git-go-git | no fix listed | UBUNTU-CVE-2026-41506 |
| Red Hat | hummingbird:1 | syft | 0:1.44.0-0.3.hum1 | RHSA-2026:17669 |
| Red Hat | hummingbird:1 | trivy | 0:0.72.0-0.1.hum1 | RHSA-2026:35111 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP7 | alloy | 1.18.0-150700.15.26.1 | SUSE-SU-2026:4210-1 |
| SUSE | Linux Enterprise Module for Public Cloud 12 | amazon-ssm-agent | 3.3.4624.0-4.49.1 | SUSE-SU-2026:2468-1 |
| SUSE | Linux Enterprise Module for Public Cloud 12 | google-osconfig-agent | 20260615.01-1.47.1 | SUSE-SU-2026:2665-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5 | terraform-provider-aws | 3.11.0-150200.6.18.1 | SUSE-SU-2026:3056-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5 | terraform-provider-azurerm | 2.32.0-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5 | terraform-provider-external | 2.0.0-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5 | terraform-provider-google | 3.43.0-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5 | terraform-provider-helm | 2.9.0-150200.6.23.1 | SUSE-SU-2026:3056-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5 | terraform-provider-kubernetes | 1.13.2-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5 | terraform-provider-local | 2.0.0-150200.6.17.1 | SUSE-SU-2026:3056-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5 | terraform-provider-null | 3.0.0-150200.6.18.1 | SUSE-SU-2026:3056-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5 | terraform-provider-random | 3.0.0-150200.6.15.1 | SUSE-SU-2026:3056-1 |
| 8 more for SUSE in the JSON and on SUSE's page. | ||||
| 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 |
| 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 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Moderate.
Red Hat has rated this flaw as Moderate because go-git may disclose HTTP authentication credentials when following redirects during smart HTTP clone and fetch operations but successful exploitation requires a user to interact with a malicious repository or redirect chain, and an attacker must control the redirect target to capture the exposed credentials. The impact is limited to the disclosure of authentication credentials and does not directly result in code execution, privilege escalation, or system compromise. Therefore, this issue is considered to have a moderate security impact.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Hardened Images | syft-main-1.44.0-0.3.hum1 | Fixed 2026-05-14 | RHSA-2026:17669 |
| Red Hat Hardened Images | trivy-main-0.72.0-0.1.hum1 | Fixed 2026-07-02 | RHSA-2026:35111 |
| Red Hat Openshift Data Foundation 4.22 | odf4/cephcsi-rhel9:1782932114 | Fixed 2026-07-09 | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/cephcsi-rhel9-operator:1782931768 | Fixed 2026-07-09 | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/devicefinder-rhel9:1782932104 | Fixed 2026-07-09 | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/mcg-core-rhel9:1783536000 | Fixed 2026-07-09 | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/mcg-rhel9-operator:1783535989 | Fixed 2026-07-09 | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/ocs-client-console-rhel9:1783536515 | Fixed 2026-07-09 | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/ocs-client-rhel9-operator:1782932521 | Fixed 2026-07-09 | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/ocs-metrics-exporter-rhel9:1783018461 | Fixed 2026-07-09 | RHSA-2026:37387 |
| Assisted Installer for Red Hat OpenShift Container Platform 2 | assisted/agent-preinstall-image-builder-rhel9 | Fix deferred | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-controller-rhel9 | Fix deferred | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-git-cloner-rhel9 | Fix deferred | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-image-bundler-rhel9 | Fix deferred | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-image-processing-rhel9 | Fix deferred | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-waiters-rhel9 | Fix deferred | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-webhook-rhel9 | Fix deferred | |
| Confidential Compute Attestation | openshift-sandboxed-containers/osc-must-gather-rhel9 | Fix deferred | |
| Exploit Intelligence | exploit-intelligence-tech-preview/agent-client-rhel9 | Fix deferred | |
| Exploit Intelligence | exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 | Fix deferred | |
| 205 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-41506.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-522 (13).