cve.bz

CVE-2026-45570

2.3 lowEPSS 0.4%

Low (2.3) in go-git project go-git. EPSS 0.4% chance of exploitation in the next 30 days. Fixed in github.com/go-git/go-git/v5 5.19.1.

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.

Severity

CVSS 4.0

2.3 low
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

CVSS 3.1

9.6 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS
0.4% chance of exploitation in the next 30 days; higher than 30% of CVEs (scores of 2026-10-31)
CWE
CWE-116
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m7cr-m3pv-hgrpGogithub.com/go-git/go-git/v5<5.19.15.19.1
GHSA-m7cr-m3pv-hgrpGogithub.com/go-git/go-git/v6<6.0.0-alpha.46.0.0-alpha.4
GHSA-m7cr-m3pv-hgrpGogithub.com/go-git/go-git<=4.7.0no fix published
GO-2026-5496Gogithub.com/go-git/go-gitall versionsno fix published
GO-2026-5496Gogithub.com/go-git/go-git/v5<5.19.15.19.1
GO-2026-5496Gogithub.com/go-git/go-git/v6<6.0.0-alpha.46.0.0-alpha.4

References

Check your stackJSON