cve.bz

CVE-2026-71557

6.3 mediumEPSS 0.4%

Medium (6.3). EPSS 0.4% chance of exploitation in the next 30 days. Fixed in github.com/go-git/go-git/v5 5.19.2.

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.

Severity

CVSS 3.1

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

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qgq7-7hm3-q39jGogithub.com/go-git/go-git/v5<5.19.25.19.2
GHSA-qgq7-7hm3-q39jGogithub.com/go-git/go-git/v6<6.0.0-alpha.56.0.0-alpha.5
GO-2026-6214Gogithub.com/go-git/go-git/v5<5.19.25.19.2
GO-2026-6214Gogithub.com/go-git/go-git/v6<6.0.0-alpha.56.0.0-alpha.5

References

Check your stackJSON