| Name | CVE-2026-71556 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1143903, 1143904 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| golang-github-go-git-go-git (PTS) | bookworm | 5.4.2-3 | vulnerable |
| trixie | 5.14.0-1 | vulnerable | |
| forky | 5.19.2-1 | fixed | |
| sid | 5.19.2-2 | fixed | |
| golang-github-go-git-go-git-v6 (PTS) | forky | 6.0.0~alpha.5-2 | fixed |
| sid | 6.0.0~beta.1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| golang-github-go-git-go-git | source | (unstable) | 5.19.2-1 | 1143903 | ||
| golang-github-go-git-go-git-v6 | source | (unstable) | 6.0.0~alpha.5-1 | 1143904 |
[trixie] - golang-github-go-git-go-git <no-dsa> (Minor issue)
[bookworm] - golang-github-go-git-go-git <postponed> (Limited support)
https://github.com/go-git/go-git/security/advisories/GHSA-hc8v-wwc9-vgxm
Fixed by: https://github.com/go-git/go-git/commit/661d1c7f101d34e002a3cfcf8dbea5b7421d07ac (v6.0.0-alpha.5)
Fixed by: https://github.com/go-git/go-git/commit/008a78f2dd86f52544ddff8b8e8ddeecdf3f7aab (v5.19.2)