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.
CVE-2026-45571
This medium-severity CVE scores 5.4 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3%, top 79% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.4
- EG Score
- 5.4(medium)
- EPSS
- 21.5%
- KEV
- Not listed
Published
May 19, 2026
Last Modified
June 4, 2026
Advisory Details (1)
Auto-updated Jun 16, 2026Crafted repositories may modify main and submodule .git directories · Advisory · go-git/go-git · GitHub
https://github.com/go-git/go-git/security/advisories/GHSA-crhj-59gh-8x96Vendor Advisories for CVE-2026-45571(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:37387Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.22.0 security, enhancement & bug fix update
- CVE-2026-45571Microsoft Security Response Center (MSRC)Medium
go-git: Crafted repositories may modify main and submodule .git directories
- GHSA-crhj-59gh-8x96GitHub Security AdvisoriesMedium
go-git: Crafted repositories may modify main and submodule .git directories
Affected Packages
(3 across 1 ecosystem)
Go(3)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/go-git/go-git | — | — | — |
| github.com/go-git/go-git/v5 | — | 5.19.1 | — |
| github.com/go-git/go-git/v6 | — | 6.0.0-alpha.4 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 7× in last 7d / 44× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 20:55 UTCEG score recompute
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 20:25 UTCEG score recompute
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 19:48 UTCEG score recompute
- 2026-06-25 17:06 UTCEG score recompute
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
Show 57 moreShow fewer
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 11:45 UTCEG score recompute
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 06:41 UTCEG score recompute
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 06:32 UTCEG score recompute
- 2026-06-14 06:27 UTCEG score recompute
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 06:22 UTCEG score recompute
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 05:53 UTCEG score recompute
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-11 05:48 UTCEG score recompute
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 05:43 UTCEG score recompute
- 2026-06-09 05:39 UTCEG score recompute
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 05:34 UTCEG score recompute
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 05:29 UTCEG score recompute
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 05:25 UTCEG score recompute
- 2026-06-05 22:47 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 05:21 UTCEG score recompute
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 05:16 UTCEG score recompute
- 2026-06-03 05:11 UTCEG score recompute
- 2026-06-02 20:13 UTCEPSS rescore
- 2026-06-02 05:06 UTCEG score recompute
- 2026-06-01 13:52 UTCEPSS rescore
- 2026-06-01 13:52 UTCEPSS rescore
- 2026-06-01 05:01 UTCEG score recompute
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-29 13:44 UTCEPSS rescore
- 2026-05-29 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-24 06:14 UTCEG score recompute
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-45571?
When was CVE-2026-45571 disclosed?
Is CVE-2026-45571 actively exploited?
What is the CVSS score of CVE-2026-45571?
How do I remediate CVE-2026-45571?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-45571
Is Your Infrastructure Affected by CVE-2026-45571?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.