DEBIAN-CVE-2026-45570
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.
DEBIAN-CVE-2026-45570
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-45570
golang-github-go-git-go-git
Source reference: /affected/0/package/name
- Affected versions
- 5.11.0-1
Source reference:
/affected/0/versions5.11.0-2Source reference:
/affected/0/versions5.11.0-3Source reference:
/affected/0/versions5.11.0-4Source reference:
/affected/0/versions5.12.0-1Source reference:
/affected/0/versions5.13.2-1Source reference:
/affected/0/versions5.14.0-1Source reference:
/affected/0/versions5.16.2-1Source reference:
/affected/0/versions5.17.0-1Source reference:
/affected/0/versions5.17.1-1Source reference:
/affected/0/versions5.19.1-1Source reference:
/affected/0/versions5.19.2-1Source reference:
/affected/0/versions5.4.2-3Source reference:
/affected/0/versions5.4.2-4Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
golang-github-go-git-go-git
Source reference: /affected/1/package/name
- Affected versions
- 5.14.0-1
Source reference:
/affected/1/versions5.16.2-1Source reference:
/affected/1/versions5.17.0-1Source reference:
/affected/1/versions5.17.1-1Source reference:
/affected/1/versions5.19.1-1Source reference:
/affected/1/versions5.19.2-1Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
golang-github-go-git-go-git
Source reference: /affected/2/package/name
- Affected versions
- 5.14.0-1
Source reference:
/affected/2/versions5.16.2-1Source reference:
/affected/2/versions5.17.0-1Source reference:
/affected/2/versions5.17.1-1Source reference:
/affected/2/versions - Fixed versions
- 5.19.1-1
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
golang-github-go-git-go-git-v6
Source reference: /affected/3/package/name
- Affected versions
- 6~git20260305.2083cf94-1
Source reference:
/affected/3/versions6~git20260305.2083cf94-2Source reference:
/affected/3/versions6~git20260305.2083cf94-3Source reference:
/affected/3/versions - Fixed versions
- 6.0.0~alpha4-1
Source reference:
/affected/3/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-go-git-go-git",
"purl": "pkg:deb/debian/golang-github-go-git-go-git?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"5.11.0-1",
"5.11.0-2",
"5.11.0-3",
"5.11.0-4",
"5.12.0-1",
"5.13.2-1",
"5.14.0-1",
"5.16.2-1",
"5.17.0-1",
"5.17.1-1",
"5.19.1-1",
"5.19.2-1",
"5.4.2-3",
"5.4.2-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45570.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-go-git-go-git",
"purl": "pkg:deb/debian/golang-github-go-git-go-git?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"5.14.0-1",
"5.16.2-1",
"5.17.0-1",
"5.17.1-1",
"5.19.1-1",
"5.19.2-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45570.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.19.1-1"
}
]
}
],
"package": {
"name": "golang-github-go-git-go-git",
"purl": "pkg:deb/debian/golang-github-go-git-go-git?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"5.14.0-1",
"5.16.2-1",
"5.17.0-1",
"5.17.1-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45570.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.0.0~alpha4-1"
}
]
}
],
"package": {
"name": "golang-github-go-git-go-git-v6",
"purl": "pkg:deb/debian/golang-github-go-git-go-git-v6?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"6~git20260305.2083cf94-1",
"6~git20260305.2083cf94-2",
"6~git20260305.2083cf94-3"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45570.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #57114 · Revision 1
- Added to Heist Feed
- Publisher date