CVE-2026-45570
LOW EPSS 28.4%
Published May 27, 20261mo ago · Modified Jun 17, 20261w ago
2.3 CVSS 4.0
Published May 27, 2026 1mo ago
Last Modified Jun 17, 2026 1w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
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 Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction P
Scope X
Threat Intelligence
EPSS Exploit Probability
28.4% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 1
CWE-116
Affected Products 4
| Vendor | Product | Version | Range |
|---|---|---|---|
| go-git_project | go-git | * | <5.19.1 |
| go-git_project | go-git | 6.0.0 | any |
| go-git_project | go-git | 6.0.0 | any |
| go-git_project | go-git | 6.0.0 | any |
References 1
- github.com https://github.com/go-git/go-git/security/advisories/GHSA-m7cr-m3pv-hgrp
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.