cve.bz

CVE-2026-45571

5.4 mediumEPSS 0.3%

Medium (5.4) in go-git project go-git. EPSS 0.3% chance of exploitation in the next 30 days. Fixed in github.com/go-git/go-git/v5 5.19.1.

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.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
EPSS
0.3% chance of exploitation in the next 30 days; higher than 22% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-crhj-59gh-8x96Gogithub.com/go-git/go-git/v5<5.19.15.19.1
GHSA-crhj-59gh-8x96Gogithub.com/go-git/go-git/v6<6.0.0-alpha.46.0.0-alpha.4
GHSA-crhj-59gh-8x96Gogithub.com/go-git/go-git<=44.7.0no fix published
GO-2026-5336Gogithub.com/go-git/go-git/v5<5.19.15.19.1

References

Check your stackJSON