Path Traversal in Go-git

CVE-2026-45571

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…

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.000 (2.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-45571?
CVE-2026-45571 is a medium-severity vulnerability in Go-git, classified under Path Traversal. CVSS score: 5.4/10. Published 2026-05-27.
How severe is CVE-2026-45571?
Medium severity. CVSS v3 base score is 5.4 out of 10.