cbcvebase.
CVE-2026-45570
published 2026-05-27

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…

PriorityP349critical9.6CVSS 3.1
AVNACLPRNUIRSCCHIHAH
EPSS
0.36%
28.4th percentile
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.

Affected

7 ranges
VendorProductVersion rangeFixed in
github.comgo-git_go-git0 – 4.7.0
github.comgo-git_go-git_v5>= 0 < 5.19.15.19.1
github.comgo-git_go-git_v6>= 0 < 6.0.0-alpha.46.0.0-alpha.4
go-gitgo-git< 5.19.15.19.1
go-gitgo-git
go-git_projectgo-git< 5.19.15.19.1
go-git_projectgo-git

CVSS provenance

nvdv3.19.6CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
nvdv4.02.3LOWCVSS: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
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.