CVE-2026-45570
CVE-2026-45570 is a critical-severity vulnerability in Go-git Project Go-git with a CVSS 3.x base score of 9.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-116.
Key facts
- Severity: Critical (CVSS 3.x base score 9.6)
- CVSS v4: 2.3
- EPSS exploit prediction: 0% (29th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-32546
- Weakness: CWE-116
- Affected product: Go-git Project Go-git
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is 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 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.
- How severe is CVE-2026-45570?
- CVE-2026-45570 has a CVSS 3.x base score of 9.6, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-45570 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (29th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-45570?
- CVE-2026-45570 primarily affects Go-git Project Go-git. In total, 4 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2026-45570?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2026-45570 have an EU (EUVD) identifier?
- Yes. CVE-2026-45570 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-32546.
- When was CVE-2026-45570 published?
- CVE-2026-45570 was published on 2026-05-27 and last updated on 2026-06-17.
References
Affected products (4)
- cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*
- cpe:2.3:a:go-git_project:go-git:6.0.0:alpha1:*:*:*:go:*:*
- cpe:2.3:a:go-git_project:go-git:6.0.0:alpha2:*:*:*:go:*:*
- cpe:2.3:a:go-git_project:go-git:6.0.0:alpha3:*:*:*:go:*:*
More vulnerabilities in Go-git Project Go-git
- CVE-2025-21613 — Critical (CVSS 9.8): go-git is a highly extensible git implementation library written in pure Go. An argument injection vulnerability was…
- CVE-2023-49569 — Critical (CVSS 9.8): A path traversal vulnerability was discovered in go-git versions prior to v5.11. This vulnerability allows an attacker…
- CVE-2026-45022 — High (CVSS 7.5): go-git is an extensible git implementation library written in pure Go. Prior to 5.19.0 and 6.0.0-alpha.3, go-git may…
- CVE-2025-21614 — High (CVSS 7.5): go-git is a highly extensible git implementation library written in pure Go. A denial of service (DoS) vulnerability…
- CVE-2023-49568 — High (CVSS 7.5): A denial of service (DoS) vulnerability was discovered in go-git versions prior to v5.11. This vulnerability allows an…
- CVE-2026-45571 — Medium (CVSS 5.4): 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…
All CVEs affecting Go-git Project Go-git →
Other CWE-116 vulnerabilities
- CVE-2025-55730 — Critical (CVSS 10.0): XWiki Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. Starting in…
- CVE-2025-55729 — Critical (CVSS 10.0): XWiki Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. Starting in…
- CVE-2023-47143 — Critical (CVSS 10.0): IBM Tivoli Application Dependency Discovery Manager 7.3.0.0 through 7.3.0.10 is vulnerable to HTTP header injection,…
- CVE-2023-26472 — Critical (CVSS 9.9): XWiki Platform is a generic wiki platform. Starting in version 6.2-milestone-1, one can execute any wiki content with…
- CVE-2022-41934 — Critical (CVSS 9.9): XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with…
- CVE-2022-36100 — Critical (CVSS 9.9): XWiki Platform Applications Tag and XWiki Platform Tag UI are tag applications for XWiki, a generic wiki platform.…