CVE-2026-71557
published medium CVSS 3.1 · 6.3go-git: Malicious reference names may modify files outside the reference storage
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| go-git | — | go-git< 5.19.2 · >= 6.0.0-alpha.1, < 6.0.0-alpha.5 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3933 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3963 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3110 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3149 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12 | amazon-ssm-agentaarch64 | Advisory build | 3.3.5390.0-4.52.1 | SUSE-SU-2026:4286-1 |
| SUSE / openSUSE | SLE-12 | amazon-ssm-agentx86_64 | Advisory build | 3.3.5390.0-4.52.1 | SUSE-SU-2026:4286-1 |
| SUSE / openSUSE | SLE-12-SP3 | amazon-ssm-agentaarch64 | Advisory build | 3.3.5390.0-4.52.1 | SUSE-SU-2026:4286-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP3 | amazon-ssm-agentx86_64 | Advisory build | 3.3.5390.0-4.52.1 | SUSE-SU-2026:4286-1 |
| SUSE / openSUSE | SLE-12-SP4 | amazon-ssm-agentaarch64 | Advisory build | 3.3.5390.0-4.52.1 | SUSE-SU-2026:4286-1 |
| SUSE / openSUSE | SLE-12-SP4 | amazon-ssm-agentx86_64 | Advisory build | 3.3.5390.0-4.52.1 | SUSE-SU-2026:4286-1 |
| SUSE / openSUSE | SLE-12-SP5 | amazon-ssm-agentaarch64 | Advisory build | 3.3.5390.0-4.52.1 | SUSE-SU-2026:4286-1 |
| SUSE / openSUSE | SLE-12-SP5 | amazon-ssm-agentx86_64 | Advisory build | 3.3.5390.0-4.52.1 | SUSE-SU-2026:4286-1 |
| SUSE / openSUSE | SLE-15-SP4 | amazon-ssm-agentaarch64 | Advisory build | 3.3.5226.0-150000.5.40.1 | SUSE-SU-2026:4082-1 |
| SUSE / openSUSE | SLE-15-SP4 | amazon-ssm-agentx86_64 | Advisory build | 3.3.5226.0-150000.5.40.1 | SUSE-SU-2026:4082-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-awsaarch64 | Advisory build | 3.11.0-150200.6.24.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-awsaarch64 | Advisory build | 3.11.0-150200.6.29.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-awsppc64le | Advisory build | 3.11.0-150200.6.24.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-awsppc64le | Advisory build | 3.11.0-150200.6.29.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-awss390x | Advisory build | 3.11.0-150200.6.24.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-awss390x | Advisory build | 3.11.0-150200.6.29.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-awsx86_64 | Advisory build | 3.11.0-150200.6.24.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-awsx86_64 | Advisory build | 3.11.0-150200.6.29.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-azurermaarch64 | Advisory build | 2.32.0-150200.6.18.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-azurermaarch64 | Advisory build | 2.32.0-150200.6.23.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-azurermppc64le | Advisory build | 2.32.0-150200.6.18.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-azurermppc64le | Advisory build | 2.32.0-150200.6.23.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-azurerms390x | Advisory build | 2.32.0-150200.6.18.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-azurerms390x | Advisory build | 2.32.0-150200.6.23.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-azurermx86_64 | Advisory build | 2.32.0-150200.6.18.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-azurermx86_64 | Advisory build | 2.32.0-150200.6.23.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-externalaarch64 | Advisory build | 2.0.0-150200.6.18.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-externalaarch64 | Advisory build | 2.0.0-150200.6.23.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-externalppc64le | Advisory build | 2.0.0-150200.6.18.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-externalppc64le | Advisory build | 2.0.0-150200.6.23.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-externals390x | Advisory build | 2.0.0-150200.6.18.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-externals390x | Advisory build | 2.0.0-150200.6.23.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-externalx86_64 | Advisory build | 2.0.0-150200.6.18.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-externalx86_64 | Advisory build | 2.0.0-150200.6.23.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-googleaarch64 | Advisory build | 3.43.0-150200.6.18.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-googleaarch64 | Advisory build | 3.43.0-150200.6.23.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-googleppc64le | Advisory build | 3.43.0-150200.6.18.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-googleppc64le | Advisory build | 3.43.0-150200.6.23.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-googles390x | Advisory build | 3.43.0-150200.6.18.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-googles390x | Advisory build | 3.43.0-150200.6.23.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-googlex86_64 | Advisory build | 3.43.0-150200.6.18.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-googlex86_64 | Advisory build | 3.43.0-150200.6.23.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-helmaarch64 | Advisory build | 2.9.0-150200.6.29.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-helmaarch64 | Advisory build | 2.9.0-150200.6.34.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-helmppc64le | Advisory build | 2.9.0-150200.6.29.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-helmppc64le | Advisory build | 2.9.0-150200.6.34.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-helms390x | Advisory build | 2.9.0-150200.6.29.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-helms390x | Advisory build | 2.9.0-150200.6.34.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-helmx86_64 | Advisory build | 2.9.0-150200.6.29.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-helmx86_64 | Advisory build | 2.9.0-150200.6.34.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-kubernetesaarch64 | Advisory build | 1.13.2-150200.6.18.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-kubernetesaarch64 | Advisory build | 1.13.2-150200.6.23.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-kubernetesppc64le | Advisory build | 1.13.2-150200.6.18.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-kubernetesppc64le | Advisory build | 1.13.2-150200.6.23.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-kubernetess390x | Advisory build | 1.13.2-150200.6.18.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-kubernetess390x | Advisory build | 1.13.2-150200.6.23.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-kubernetesx86_64 | Advisory build | 1.13.2-150200.6.18.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-kubernetesx86_64 | Advisory build | 1.13.2-150200.6.23.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-localaarch64 | Advisory build | 2.0.0-150200.6.25.1 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-localaarch64 | Advisory build | 2.0.0-150200.6.30.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-localppc64le | Advisory build | 2.0.0-150200.6.25.1 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-localppc64le | Advisory build | 2.0.0-150200.6.30.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-locals390x | Advisory build | 2.0.0-150200.6.25.1 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-locals390x | Advisory build | 2.0.0-150200.6.30.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-localx86_64 | Advisory build | 2.0.0-150200.6.25.1 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-localx86_64 | Advisory build | 2.0.0-150200.6.30.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-nullaarch64 | Advisory build | 3.0.0-150200.6.24.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-nullaarch64 | Advisory build | 3.0.0-150200.6.32.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-nullppc64le | Advisory build | 3.0.0-150200.6.24.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-nullppc64le | Advisory build | 3.0.0-150200.6.32.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-nulls390x | Advisory build | 3.0.0-150200.6.24.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-nulls390x | Advisory build | 3.0.0-150200.6.32.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-nullx86_64 | Advisory build | 3.0.0-150200.6.24.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-nullx86_64 | Advisory build | 3.0.0-150200.6.32.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-randomaarch64 | Advisory build | 3.0.0-150200.6.21.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-randomaarch64 | Advisory build | 3.0.0-150200.6.26.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-randomppc64le | Advisory build | 3.0.0-150200.6.21.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-randomppc64le | Advisory build | 3.0.0-150200.6.26.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-randoms390x | Advisory build | 3.0.0-150200.6.21.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-randoms390x | Advisory build | 3.0.0-150200.6.26.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-randomx86_64 | Advisory build | 3.0.0-150200.6.21.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-randomx86_64 | Advisory build | 3.0.0-150200.6.26.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-tlsaarch64 | Advisory build | 3.0.0-150200.5.21.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-tlsaarch64 | Advisory build | 3.0.0-150200.5.26.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-tlsppc64le | Advisory build | 3.0.0-150200.5.21.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-tlsppc64le | Advisory build | 3.0.0-150200.5.26.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-tlss390x | Advisory build | 3.0.0-150200.5.21.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-tlss390x | Advisory build | 3.0.0-150200.5.26.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-tlsx86_64 | Advisory build | 3.0.0-150200.5.21.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP4 | terraform-provider-tlsx86_64 | Advisory build | 3.0.0-150200.5.26.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP5 | amazon-ssm-agentaarch64 | Advisory build | 3.3.5226.0-150000.5.40.1 | SUSE-SU-2026:4082-1 |
| SUSE / openSUSE | SLE-15-SP5 | amazon-ssm-agentx86_64 | Advisory build | 3.3.5226.0-150000.5.40.1 | SUSE-SU-2026:4082-1 |
| SUSE / openSUSE | SLE-15-SP5 | terraform-provider-awsaarch64 | Advisory build | 3.11.0-150200.6.24.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP5 | terraform-provider-awsaarch64 | Advisory build | 3.11.0-150200.6.29.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP5 | terraform-provider-awsppc64le | Advisory build | 3.11.0-150200.6.24.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP5 | terraform-provider-awsppc64le | Advisory build | 3.11.0-150200.6.29.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP5 | terraform-provider-awss390x | Advisory build | 3.11.0-150200.6.24.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP5 | terraform-provider-awss390x | Advisory build | 3.11.0-150200.6.29.2 | SUSE-SU-2026:4628-1 |
| SUSE / openSUSE | SLE-15-SP5 | terraform-provider-awsx86_64 | Advisory build | 3.11.0-150200.6.24.2 | SUSE-SU-2026:3916-1 |
| SUSE / openSUSE | SLE-15-SP5 | terraform-provider-awsx86_64 | Advisory build | 3.11.0-150200.6.29.2 | SUSE-SU-2026:4628-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
go-git is an extensible git implementation library written in pure Go. Prior to 5.19.2 and 6.0.0-alpha.5, reference names are not sanitized before being used to construct on-disk paths under the reference storage directory, so a maliciously crafted reference name (for example containing directory-traversal sequences) can cause go-git to write files outside the intended reference storage directory. Versions 5.19.2 and 6.0.0-alpha.5 fix the issue.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| go-git | go-git | < 5.19.2 (affected)>= 6.0.0-alpha.1, < 6.0.0-alpha.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
7- https://github.com/go-git/go-git/commit/4a0e66d555de5f9a30c31e2df64f445f42bd01e7
- https://github.com/go-git/go-git/commit/da9f7d8a0e98b475600177348d6ece384a370f36
- https://github.com/go-git/go-git/pull/2247
- https://github.com/go-git/go-git/pull/2254
- https://github.com/go-git/go-git/releases/tag/v5.19.2
- https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.5
- https://github.com/go-git/go-git/security/advisories/GHSA-qgq7-7hm3-q39j
Provider assertions
2GitHub_M · cna
go-git: Malicious reference names may modify files outside the reference storage
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fd1990c9327e62cb8625d1053131c1adac5bd0ec866714302a890beeb836b1ab
- Ingested
- 23 Sep 2026, 09:29:33 UTC
- Source record
- Official CVE record