{"id":"DEBIAN-CVE-2026-71557","details":"go-git is an extensible git implementation library written in pure Go. Prior to 5.19.2 and 6.0.0-alpha.5, reference names are not sanitized before being used to construct on-disk paths under the reference storage directory, so a maliciously crafted reference name (for example containing directory-traversal sequences) can cause go-git to write files outside the intended reference storage directory. Versions 5.19.2 and 6.0.0-alpha.5 fix the issue.","modified":"2026-09-29T13:04:20.475039859Z","published":"2026-08-07T17:17:10.833Z","upstream":["CVE-2026-71557"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-71557"}],"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.19.2-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-71557.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","5.19.2-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-71557.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.2-1"}]}],"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-71557.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~alpha.5-1"}]}],"versions":["6.0.0~alpha.4-1","6.0.0~alpha.4-2","6.0.0~alpha4-1","6.0.0~alpha4-2","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-71557.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L"}]}