CVE-2026-45570
Last modified
CVE-2026-45570 is a critical-severity vulnerability rated 9.6/10 on the CVSS scale. 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. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Go-Git Project | Go-Git | < 5.19.1 | — |
| Go-Git Project | Go-Git | 6.0.0 | Alpha1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-45570?
How severe is CVE-2026-45570?
How do I fix CVE-2026-45570?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-45565Roxy-WI is a web interface for managing Haproxy, Nginx, Apac…8.1
- CVE-2026-45566Roxy-WI is a web interface for managing Haproxy, Nginx, Apac…6.1
- CVE-2026-45567Roxy-WI is a web interface for managing Haproxy, Nginx, Apac…8.3
- CVE-2026-45568zrok is software for sharing web services, files, and networ…9.1
- CVE-2026-45569Roxy-WI is a web interface for managing Haproxy, Nginx, Apac…8.1
- CVE-2026-4557A vulnerability was detected in code-projects Exam Form Subm…4.3
- CVE-2026-45571go-git is an extensible git implementation library written i…5.4
- CVE-2026-45572Decidim is a participatory democracy framework. Prior to 0.3…4.8
- CVE-2026-45573Decidim is a participatory democracy framework. Prior to 0.3…6.4
- CVE-2026-45574epa4all-client is the Java Client for epa4all / ePA 3.0 in t…8.1
- CVE-2026-45575epa4all-client is the Java Client for epa4all / ePA 3.0 in t…7.4
- CVE-2026-45576zrok is software for sharing web services, files, and networ…7.5
Are you affected by CVE-2026-45570?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
