CVE-2026-45571
published 2026-05-27CVE-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
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| github.com | go-git_go-git | 0 – 44.7.0 | — |
| github.com | go-git_go-git_v5 | >= 0 < 5.19.1 | 5.19.1 |
| github.com | go-git_go-git_v6 | >= 0 < 6.0.0-alpha.4 | 6.0.0-alpha.4 |
| go-git | go-git | < 5.19.1 | 5.19.1 |
| go-git | go-git | — | — |
| go-git_project | go-git | < 5.19.1 | 5.19.1 |
| go-git_project | go-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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2026-05-27
Published