
CVE catalog
CVE-2026-71557
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 refer
- Severity
- Medium · CVSS 6.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.41% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | golang-github-go-git-go-git | sid | 5.19.2-2 | fixed |
| Debian | golang-github-go-git-go-git | forky | 5.19.2-2 | fixed |
| Debian | golang-github-go-git-go-git | trixie | 5.14.0-1 | vulnerable |
| Debian | golang-github-go-git-go-git | bookworm | 5.4.2-3 | vulnerable |
| Go | github.com/go-git/go-git/v5 | Not reported | 5.19.2 | fixed |
| Go | github.com/go-git/go-git/v6 | Not reported | 6.0.0-alpha.5 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | golang-github-go-git-go-git | source | sid | 5.19.2-1 | not yet assigned | Not reported | [1143903] |
| Debian | golang-github-go-git-go-git | source | forky | 5.19.2-1 | not yet assigned | Not reported | [1143903] |
| Debian | golang-github-go-git-go-git | source | trixie | (unfixed) | not yet assigned | Not reported | [1143903] |
| Debian | golang-github-go-git-go-git | source | bookworm | (unfixed) | not yet assigned | Not reported | [1143903] |
| Go | github.com/go-git/go-git/v5 | go | Not reported | 5.19.2 | Not reported | Not reported | Not reported |
| Go | github.com/go-git/go-git/v6 | go | Not reported | 6.0.0-alpha.5 | Not reported | Not reported | Not reported |
Notes
[trixie] golang-github-go-git-go-git: Minor issue [bookworm] golang-github-go-git-go-git: Limited support
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [go-git]Affected
Source package: [golang-github-go-git-go-git]
Details (2)
5.4.2-3+b7· amd64 · bookwormAffected
nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12
5.4.2-3+b7· arm64 · bookwormAffected
nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12
- [golang-github-go-git-go-git-dev]Affected
Source package: [golang-github-go-git-go-git]
Details (2)
5.4.2-3· all · bookwormAffected
nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12
5.4.2-3· all · bookwormAffected
nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12
[Debian 13 (Trixie)]
- [go-git]Affected
Source package: [golang-github-go-git-go-git]
Details (2)
5.14.0-1+b3· amd64 · trixieAffected
nvd · golang-github-go-git-go-git · debian · 13
5.14.0-1+b3· arm64 · trixieAffected
nvd · golang-github-go-git-go-git · debian · 13
- [golang-github-go-git-go-git-dev]Affected
Source package: [golang-github-go-git-go-git]
Details (2)
5.14.0-1· all · trixieAffected
nvd · golang-github-go-git-go-git · debian · 13
5.14.0-1· all · trixieAffected
nvd · golang-github-go-git-go-git · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_3916-1.json]
- [https://github.com/advisories/GHSA-qgq7-7hm3-q39j]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-71557]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-71557]
- [https://security-tracker.debian.org/tracker/CVE-2026-71557]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-71557.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]