CVE-2026-45570
published low CVSS 4.0 · 2.3go-git: Improper single-quote escaping in go-git SSH transport
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| go-git | — | go-git< 5.19.1 · >= 6.0.0-alpha.1, < 6.0.0-alpha.4 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cliaarch64 | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-clippc64le | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-clis390x | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-clix86_64 | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-bash-completionaarch64 | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-bash-completionppc64le | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-bash-completions390x | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-bash-completionx86_64 | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-fish-completionaarch64 | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-fish-completionppc64le | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-fish-completions390x | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-fish-completionx86_64 | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-zsh-completionaarch64 | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-zsh-completionppc64le | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-zsh-completions390x | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-zsh-completionx86_64 | Advisory build | 2.8.8-1.1 | OPENSUSE-SU-2026:10831-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.3 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| go-git | go-git | < 5.19.1 (affected)>= 6.0.0-alpha.1, < 6.0.0-alpha.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-116 CWE-116: Improper Encoding or Escaping of Output
References
1Provider assertions
2GitHub_M · cna
go-git: Improper single-quote escaping in go-git SSH transport
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1cca88091807a1dc6d13d60cf3c4af339f7451cb245936a7f3cc56068ff3ef00
- Ingested
- 23 Sep 2026, 09:15:56 UTC
- Source record
- Official CVE record