CVE-2026-45570

low
Published 2026-05-27 ยท Modified 2026-05-29
CVSS v3
โ€”
CVSS v4 NEW
2.3
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
VIR risk
2.5

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

windows Windows Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
debian Debian Mixed 4 releases
VersionStatusFixed in
trixie Affected โ€”
sid Fixed 5.19.1-1
forky Fixed 5.19.1-1
bookworm Affected โ€”

Package impact

EcosystemPackageVulnerableFixed
golang Gogithub.com/go-git/go-git/v5<5.19.15.19.1
golang Gogithub.com/go-git/go-git/v6<6.0.0-alpha.46.0.0-alpha.4
golang Gogithub.com/go-git/go-git<=4.7.0
golang GOgithub.com/go-git/go-git<= 4.7.0
golang GOgithub.com/go-git/go-git/v6<= 6.0.0-alpha.36.0.0-alpha.4
golang GOgithub.com/go-git/go-git/v5<= 5.19.05.19.1

References

CWEs

CWE-116

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.