Vulnerability in Go-git
CVE-2026-45570
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 qu…
EPSS: 0.000 (4.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.6 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.
Affected products
- Go-git — versions < 5.19.1, >= 6.0.0-alpha.1, < 6.0.0-alpha.4
- Go-git_project Go-git — versions 6.0.0
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-45570?
- CVE-2026-45570 is a critical-severity vulnerability in Go-git, classified under Improper Encoding or Escaping of Output. CVSS score: 9.6/10. Published 2026-05-27.
- How severe is CVE-2026-45570?
- Critical severity. CVSS v3 base score is 9.6 out of 10.