{"id":"UBUNTU-CVE-2026-71556","details":"go-git is an extensible git implementation library written in pure Go. Prior to 5.19.2 and 6.0.0-alpha.5, worktree operations (including checkout, status, and add) resolve symbolic links inside the working tree without confining resolution to the worktree boundary, so a maliciously crafted repository containing a symlink can cause go-git to read from or write to files outside the intended working directory when the repository is cloned and its worktree operations are used. Versions 5.19.2 and 6.0.0-alpha.5.","modified":"2026-08-13T00:14:08Z","published":"2026-08-07T17:17:00Z","upstream":["CVE-2026-71556"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-71556"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-71556"},{"type":"REPORT","url":"https://github.com/go-git/go-git/commit/008a78f2dd86f52544ddff8b8e8ddeecdf3f7aab"},{"type":"REPORT","url":"https://github.com/go-git/go-git/commit/661d1c7f101d34e002a3cfcf8dbea5b7421d07ac"},{"type":"REPORT","url":"https://github.com/go-git/go-git/releases/tag/v5.19.2"},{"type":"REPORT","url":"https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.5"},{"type":"REPORT","url":"https://github.com/go-git/go-git/security/advisories/GHSA-hc8v-wwc9-vgxm"}],"affected":[{"package":{"name":"golang-github-go-git-go-git","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/golang-github-go-git-go-git?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.4.2-3","5.4.2-3ubuntu0.1~esm1","5.4.2-3ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"go-git","binary_version":"5.4.2-3ubuntu0.1~esm2"},{"binary_version":"5.4.2-3ubuntu0.1~esm2","binary_name":"golang-github-go-git-go-git-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71556.json"}},{"package":{"name":"golang-github-go-git-go-git","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-go-git-go-git?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.4.2-3build1","5.4.2-4","5.4.2-4ubuntu0.24.04.1","5.4.2-4ubuntu0.24.04.2","5.4.2-4ubuntu0.24.04.2+esm1","5.4.2-4ubuntu0.24.04.3","5.4.2-4ubuntu0.24.04.3+esm1","5.4.2-4ubuntu0.24.04.3+esm2","5.4.2-4ubuntu0.24.04.3+esm3"],"ecosystem_specific":{"binaries":[{"binary_version":"5.4.2-4ubuntu0.24.04.3+esm3","binary_name":"go-git"},{"binary_version":"5.4.2-4ubuntu0.24.04.3+esm3","binary_name":"golang-github-go-git-go-git-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71556.json"}},{"package":{"name":"golang-github-go-git-go-git","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/golang-github-go-git-go-git?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.14.0-1","5.16.2-1","5.16.2-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"go-git","binary_version":"5.16.2-1ubuntu0.1~esm1"},{"binary_name":"golang-github-go-git-go-git-dev","binary_version":"5.16.2-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71556.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L"},{"type":"Ubuntu","score":"medium"}]}