CVE-2026-45571

medium
Published 2026-05-27 · Modified 2026-05-19
CVSS v3
5.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
CVSS v2
VIR risk
5.4

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.

Predictions

Exploit likelihood
64%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2026-45571

OS impact

OSVersionStatusFixed in
debian debianbookwormaffected
debian debianforkyaffected
debian debiansidfixed5.19.1-1
debian debiantrixieaffected

Package impact

EcosystemPackageVulnerableFixed
golang Gogithub.com/go-git/go-git/v5<5.19.15.19.1
golang Gogithub.com/go-git/go-git/v6<6.0.0-alpha.46.0.0-alpha.4
golang Gogithub.com/go-git/go-git<=44.7.0
golang GOgithub.com/go-git/go-git<= 44.7.0
golang GOgithub.com/go-git/go-git/v6<= 6.0.0-alpha.36.0.0-alpha.4
golang GOgithub.com/go-git/go-git/v5<= 5.19.05.19.1

References

CWEs

CWE-22

Verify integrity in audit chain (admin only). AS-IS.