go-git is an extensible git implementation library written in pure Go. Prior to 5.19.1 and 6.0.0-alpha.4, go-git's SSH transport constructs the remote exec command by wrapping the repository path in single quotes without escaping single quotes embedded inside the path. A repository path containing a single quote can therefore break out of the quoted region in the exec command and be appended as additional shell tokens. This vulnerability is fixed in 5.19.1 and 6.0.0-alpha.4.
CVE-2026-45570
This critical-severity CVE scores 9.6 under NVD CVSS v3. EPSS exploit probability: 0.4%, top 72% 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).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.6
- EG Score
- 9.6(medium)
- EPSS
- 28.7%
- KEV
- Not listed
Published
May 19, 2026
Last Modified
June 4, 2026
Advisory Details (1)
Auto-updated Jun 4, 2026Improper single-quote escaping in go-git SSH transport · Advisory · go-git/go-git · GitHub
https://github.com/go-git/go-git/security/advisories/GHSA-m7cr-m3pv-hgrpVendor Advisories for CVE-2026-45570(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
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 / 75× 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.
Showing the most recent 100 of 135 total refreshes for this CVE.
- 2026-07-12 05:46 UTCEPSS rescore
- 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-28 14:07 UTCEPSS rescore
- 2026-06-28 12:31 UTCEG score recompute
- 2026-06-28 08:38 UTCEG score recompute
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:50 UTCEG score recompute
- 2026-06-28 00:51 UTCEG score recompute
- 2026-06-27 20:25 UTCEG score recompute
- 2026-06-27 12:36 UTCEG score recompute
- 2026-06-27 07:37 UTCEG score recompute
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 19:48 UTCEG score recompute
- 2026-06-26 03:51 UTCEG score recompute
Show 75 moreShow fewer
- 2026-06-25 20:55 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
- 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-18 03:49 UTCEG score recompute
- 2026-06-17 23:52 UTCEG score recompute
- 2026-06-17 20:07 UTCEG score recompute
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 15:35 UTCEG score recompute
- 2026-06-17 11:46 UTCEG score recompute
- 2026-06-17 05:00 UTCEG score recompute
- 2026-06-17 00:49 UTCEG score recompute
- 2026-06-16 21:03 UTCEG score recompute
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 10:50 UTCEG score recompute
- 2026-06-16 06:33 UTCEG score recompute
- 2026-06-16 02:48 UTCEG score recompute
- 2026-06-15 23:02 UTCEG score recompute
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 16:24 UTCEG score recompute
- 2026-06-15 05:41 UTCEG score recompute
- 2026-06-15 01:55 UTCEG score recompute
- 2026-06-14 22:09 UTCEG score recompute
- 2026-06-14 18:24 UTCEG score recompute
- 2026-06-14 14:14 UTCEG score recompute
- 2026-06-14 10:03 UTCEG score recompute
- 2026-06-14 06:17 UTCEG score recompute
- 2026-06-14 02:27 UTCEG score recompute
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 22:41 UTCEG score recompute
- 2026-06-13 14:34 UTCEG score recompute
- 2026-06-13 08:52 UTCEG score recompute
- 2026-06-13 05:06 UTCEG score recompute
- 2026-06-13 01:20 UTCEG score recompute
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 21:27 UTCEG score recompute
- 2026-06-12 17:39 UTCEG score recompute
- 2026-06-12 13:41 UTCEG score recompute
- 2026-06-12 09:53 UTCEG score recompute
- 2026-06-12 06:07 UTCEG score recompute
- 2026-06-12 02:22 UTCEG score recompute
- 2026-06-11 22:37 UTCEG score recompute
- 2026-06-11 18:52 UTCEG score recompute
- 2026-06-11 15:07 UTCEG score recompute
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-11 11:22 UTCEG score recompute
- 2026-06-11 07:36 UTCEG score recompute
- 2026-06-11 03:51 UTCEG score recompute
- 2026-06-11 00:04 UTCEG score recompute
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 20:19 UTCEG score recompute
- 2026-06-10 16:34 UTCEG score recompute
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 12:49 UTCEG score recompute
- 2026-06-10 09:04 UTCEG score recompute
- 2026-06-10 05:19 UTCEG score recompute
- 2026-06-10 01:34 UTCEG score recompute
- 2026-06-09 21:49 UTCEG score recompute
- 2026-06-09 18:04 UTCEG score recompute
- 2026-06-09 14:19 UTCEG score recompute
- 2026-06-09 10:34 UTCEG score recompute
- 2026-06-09 06:49 UTCEG score recompute
- 2026-06-09 03:04 UTCEG score recompute
Frequently asked(5)
What is CVE-2026-45570?
When was CVE-2026-45570 disclosed?
Is CVE-2026-45570 actively exploited?
What is the CVSS score of CVE-2026-45570?
How do I remediate CVE-2026-45570?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-45570
Is Your Infrastructure Affected by CVE-2026-45570?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.