CVE-2026-45571
published medium CVSS 3.1 · 5.4go-git: Crafted repositories may modify main and submodule .git directories
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| go-git | — | go-git< 5.19.1 · >= 6.0.0-alpha.1, < 6.0.0-alpha.4 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cliaarch64 | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-clippc64le | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-clis390x | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-clix86_64 | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-bash-completionaarch64 | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-bash-completionppc64le | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-bash-completions390x | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-bash-completionx86_64 | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-fish-completionaarch64 | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-fish-completionppc64le | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-fish-completions390x | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-fish-completionx86_64 | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-zsh-completionaarch64 | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-zsh-completionppc64le | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-zsh-completions390x | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-zsh-completionx86_64 | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
Description
go-git is an extensible git implementation library written in pure Go. Prior to 5.19.1 and 6.0.0-alpha.4, a path validation issue in go-git could allow crafted repository data to affect files outside the intended checkout target, including the repository's .git directory. These validations were introduced in upstream Git years ago, so the vulnerability arose from go-git drifting from those checks. This vulnerability is fixed in 5.19.1 and 6.0.0-alpha.4.
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
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/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.1 (affected)>= 6.0.0-alpha.1, < 6.0.0-alpha.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
1Provider assertions
2GitHub_M · cna
go-git: Crafted repositories may modify main and submodule .git directories
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 953cf18f3f63b780c05e46fa16f5af51d517fb47cc077091d704e2195e32b713
- Ingested
- 23 Sep 2026, 09:15:56 UTC
- Source record
- Official CVE record