Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-45570 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-116Improper Encoding or Escaping of Output[email protected]

Affected Products

ProductVersions
go-git project go-git
< 5.19.1
6.0.0 alpha1
6.0.0 alpha2
6.0.0 alpha3

CPE

  • cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*
  • cpe:2.3:a:go-git_project:go-git:6.0.0:alpha1:*:*:*:go:*:*
  • cpe:2.3:a:go-git_project:go-git:6.0.0:alpha2:*:*:*:go:*:*
  • cpe:2.3:a:go-git_project:go-git:6.0.0:alpha3:*:*:*:go:*:*

Remediation

  • No remediation found in references.

Change History

4 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-45570
NVD Published Date:
May 27, 2026
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]