DEBIAN-CVE-2026-45570

Source
https://security-tracker.debian.org/tracker/CVE-2026-45570
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45570.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2026-45570
Upstream
Published
2026-05-27T15:16:30Z
Modified
2026-08-27T23:06:26Z
Severity
  • 9.6 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12
golang-github-go-git-go-git

Package

Name
golang-github-go-git-go-git
Purl
pkg:deb/debian/golang-github-go-git-go-git?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.4.2-3
5.4.2-4
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

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45570.json"
Debian:13
golang-github-go-git-go-git

Package

Name
golang-github-go-git-go-git
Purl
pkg:deb/debian/golang-github-go-git-go-git?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.14.0-1
5.16.2-1
5.17.0-1
5.17.1-1
5.19.1-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45570.json"
Debian:14
golang-github-go-git-go-git

Package

Name
golang-github-go-git-go-git
Purl
pkg:deb/debian/golang-github-go-git-go-git?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.19.1-1

Affected versions

5.*
5.14.0-1
5.16.2-1
5.17.0-1
5.17.1-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45570.json"
golang-github-go-git-go-git-v6

Package

Name
golang-github-go-git-go-git-v6
Purl
pkg:deb/debian/golang-github-go-git-go-git-v6?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
6.0.0~alpha4-1

Affected versions

6~git20260305.*
6~git20260305.2083cf94-1
6~git20260305.2083cf94-2
6~git20260305.2083cf94-3

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45570.json"