CVSS 3.1
6.3 mediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:LMedium (6.3) in go-git go-git. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/go-git/go-git/v5 5.19.2.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:Lgithub.com/go-git/go-git/v5 (Go): fixed in 5.19.2github.com/go-git/go-git/v6 (Go): fixed in 6.0.0-alpha.5Explain CVE-2026-71557 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-71557?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-71557?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-71557 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 CNA's record in the CVE List.
| Product | Affected |
|---|---|
| go-git | < 5.19.2 |
| go-git | >= 6.0.0-alpha.1, < 6.0.0-alpha.5 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-qgq7-7hm3-q39j | Go | github.com/go-git/go-git/v5 | <5.19.2 | 5.19.2 |
| GHSA-qgq7-7hm3-q39j | Go | github.com/go-git/go-git/v6 | <6.0.0-alpha.5 | 6.0.0-alpha.5 |
| GO-2026-6214 | Go | github.com/go-git/go-git/v5 | <5.19.2 | 5.19.2 |
| GO-2026-6214 | Go | github.com/go-git/go-git/v6 | <6.0.0-alpha.5 | 6.0.0-alpha.5 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | golang-github-go-git-go-git | no fix listed | DEBIAN-CVE-2026-71557 |
| Debian | 14 | golang-github-go-git-go-git | 5.19.2-1 | DEBIAN-CVE-2026-71557 |
| Debian | 14 | golang-github-go-git-go-git-v6 | 6.0.0~alpha.5-1 | DEBIAN-CVE-2026-71557 |
| Ubuntu | 26.10 | golang-github-go-git-go-git, golang-github-go-git-go-git-v6 | no fix listed | UBUNTU-CVE-2026-71557 |
| Ubuntu | Pro:22.04:LTS, Pro:24.04:LTS, Pro:26.04:LTS | golang-github-go-git-go-git | no fix listed | UBUNTU-CVE-2026-71557 |
| Red Hat | hummingbird:1 | kube-state-metrics | 0:2.20.0-0.2.hum1 | RHSA-2026:66208 |
| Red Hat | hummingbird:1 | trivy | 0:0.74.0-0.3.hum1 | RHSA-2026:68281 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP7 | alloy | 1.19.2-150700.15.29.1 | SUSE-SU-2026:4408-1 |
| SUSE | Linux Enterprise Module for Public Cloud 12 | amazon-ssm-agent | 3.3.5390.0-4.52.1 | SUSE-SU-2026:4286-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.24.2 | SUSE-SU-2026:3916-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.29.2 | SUSE-SU-2026:4628-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.18.2 | SUSE-SU-2026:3916-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.23.2 | SUSE-SU-2026:4628-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.18.2 | SUSE-SU-2026:3916-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.23.2 | SUSE-SU-2026:4628-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.18.2 | SUSE-SU-2026:3916-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.23.2 | SUSE-SU-2026:4628-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.29.2 | SUSE-SU-2026:3916-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.34.2 | SUSE-SU-2026:4628-1 |
| 13 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 16.0 | alloy | 1.19.2-160000.1.1 | openSUSE-SU-2026:22032-1 |
| openSUSE | Leap 16.0 | amazon-ssm-agent | 3.3.5390.0-160000.1.1 | openSUSE-SU-2026:21884-1 |
| openSUSE | Leap 16.0 | govulncheck-vulndb | 0.0.20260827T195228-160000.1.1 | openSUSE-SU-2026:21761-1 |
| openSUSE | Tumbleweed | alloy | 1.19.2-1.1 | openSUSE-SU-2026:11803-1 |
| Azure Linux | 3 | cri-o | no fix listed | AZL-94673 |
| Azure Linux | 3 | packer | 1.9.5-20 | AZL-95487 |
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; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Moderate.
This is a Moderate impact flaw because it requires user interaction and low privileges, but can lead to unauthorized file modification. The `go-git` library, when processing maliciously crafted reference names, fails to sanitize directory traversal sequences, allowing files to be written outside the intended directory. This could affect Red Hat products that utilize `go-git` for repository operations where untrusted input for reference names is processed.
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 | kube-state-metrics-main-2.20.0-0.2.hum1 | Fixed 2026-09-09 | RHSA-2026:66208 |
| Red Hat Hardened Images | trivy-main-0.74.0-0.3.hum1 | Fixed 2026-09-16 | RHSA-2026:68281 |
| Red Hat Hardened Images | grype-main-0.119.0-0.1.hum1 | Fixed 2026-09-18 | RHSA-2026:68806 |
| Red Hat Hardened Images | syft-main-1.52.0-0.1.hum1 | Fixed 2026-09-18 | RHSA-2026:68808 |
| Assisted Installer for Red Hat OpenShift Container Platform 2 | assisted/agent-preinstall-image-builder-rhel9 | Fix deferred | |
| Assisted Installer for Red Hat OpenShift Container Platform 2 | rhai/assisted-installer-controller-rhel9 | Fix deferred | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-controller-rhel10 | Not affected | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-controller-rhel9 | Fix deferred | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-git-cloner-rhel10 | Not affected | |
| 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-rhel10 | Not affected | |
| 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-rhel10 | Not affected | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-image-processing-rhel9 | Fix deferred | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-waiters-rhel10 | Not affected | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-waiters-rhel9 | Fix deferred | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-webhook-rhel10 | Not affected | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-webhook-rhel9 | Fix deferred | |
| Compliance Operator | compliance/openshift-compliance-must-gather-rhel8 | Fix deferred | |
| Confidential Compute Attestation | build-of-trustee/trustee-must-gather-rhel9 | Fix deferred | |
| 282 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-71557.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.