Security Resilience

CVE-2026-45570

Go-Git Project Go-Git ≤ 5.19.1

Published
27 May 2026
Modified
17 June 2026
Patch / advisory
CVSS Score v4 2.3
Click a component to see what it means
Raw vectorCVSS: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
EPSS Score 0.0043 29th percentile
Risk Priority 15 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-45570 is a low-severity Improper Encoding or Escaping of Output (CWE-116) vulnerability in Go-Git Project Go-Git. Its CVSS base score is 2.3 (Low).

Operationally, ranked at the 29th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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.…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-21614Same product: Go-Git Project Go-Git
CVE-2026-41506Same product: Go-Git Project Go-Git
CVE-2026-45022Same product: Go-Git Project Go-Git
CVE-2026-34165Same product: Go-Git Project Go-Git
CVE-2023-49568Same product: Go-Git Project Go-Git
CVE-2025-21613Same product: Go-Git Project Go-Git
CVE-2026-33762Same product: Go-Git Project Go-Git
CVE-2026-25934Same product: Go-Git Project Go-Git
CVE-2023-49569Same product: Go-Git Project Go-Git
CVE-2026-45571Same product: Go-Git Project Go-Git

Affected Assets

go-git project
go-git
6.0.0 · ≤ 5.19.1

Mitigating Controls

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-116

Validating that output matches expected content directly mitigates failures to properly encode or escape data for its destination context.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect missing or incorrect encoding but does not itself implement the control.

prevents

Secure coding standards explicitly require correct output encoding and escaping to preserve message structure.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-116, a class-level weakness, and none of its children carries one either.

References