cbcvebase.
CVE-2026-45571
published 2026-05-27

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…

PriorityP429medium5.4CVSS 3.1
AVNACLPRNUIRSUCNILAL
EPSS
0.30%
21.3th percentile
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.

Affected

7 ranges
VendorProductVersion rangeFixed in
github.comgo-git_go-git0 – 44.7.0
github.comgo-git_go-git_v5>= 0 < 5.19.15.19.1
github.comgo-git_go-git_v6>= 0 < 6.0.0-alpha.46.0.0-alpha.4
go-gitgo-git< 5.19.15.19.1
go-gitgo-git
go-git_projectgo-git< 5.19.15.19.1
go-git_projectgo-git
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.