{"id":"DEBIAN-CVE-2026-45570","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.","modified":"2026-08-27T23:06:26.652011134Z","published":"2026-05-27T15:16:30.240Z","upstream":["CVE-2026-45570"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-45570"}],"affected":[{"package":{"name":"golang-github-go-git-go-git","ecosystem":"Debian:12","purl":"pkg:deb/debian/golang-github-go-git-go-git?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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.4.2-3","5.4.2-4"],"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"}},{"package":{"name":"golang-github-go-git-go-git","ecosystem":"Debian:13","purl":"pkg:deb/debian/golang-github-go-git-go-git?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["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"}},{"package":{"name":"golang-github-go-git-go-git","ecosystem":"Debian:14","purl":"pkg:deb/debian/golang-github-go-git-go-git?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.19.1-1"}]}],"versions":["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"}},{"package":{"name":"golang-github-go-git-go-git-v6","ecosystem":"Debian:14","purl":"pkg:deb/debian/golang-github-go-git-go-git-v6?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.0~alpha4-1"}]}],"versions":["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"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"}]}