CVE-2026-71556
CVE-2026-71556 · go-git: Worktree operations may follow symlinks
CVSS 7.1 · High · EPSS 0.4% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- go-gitNo fix published
- golang-github-go-git-go-git Debian 12No fix published
- golang-github-go-git-go-git Debian 13No fix published
- golang-github-go-git-go-git Debian 14Update to 5.19.2-1
- and 5 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="golang-github-go-git-go-git"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- RHSA-2026:68334 · Red Hat edge manager 1.1 el10, Red Hat edge manager 1.1 el9 ·
- RHSA-2026:68335 · Red Hat edge manager 1.2 el10, Red Hat edge manager 1.2 el9 ·
- SUSE-SU-2026:4628-1 · SUSE Linux Enterprise Module for Public Cloud 15 SP4, SUSE Linux Enterprise Module for Public Cloud 15 SP5 ·
- openSUSE-SU-2026:22032-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2026:24148-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- SUSE-SU-2026:4408-1 · SUSE Linux Enterprise Module for Basesystem 15 SP7 ·
- SUSE-SU-2026:4286-1 · SUSE Linux Enterprise Module for Public Cloud 12 ·
- openSUSE-SU-2026:21884-1 · openSUSE Leap 16.0 ·
- openSUSE-SU-2026:11803-1 · openSUSE Tumbleweed ·
- RHSA-2026:66421 · Red Hat hummingbird 1 ·
- RHSA-2026:66208 · Red Hat hummingbird 1 ·
- SUSE-SU-2026:4082-1 · SUSE Linux Enterprise Module for Public Cloud 15 SP4, SUSE Linux Enterprise Module for Public Cloud 15 SP5, SUSE Linux Enterprise Module for Public Cloud 15 SP6, SUSE Linux Enterprise Module for Public Cloud 15 SP7 ·
- RHSA-2026:60793 · Red Hat hummingbird 1 ·
- RHSA-2026:60646 · Red Hat hummingbird 1 ·
- openSUSE-SU-2026:11694-1 · openSUSE Tumbleweed ·
- RHSA-2026:50953 · Red Hat hummingbird 1 ·
- SUSE-SU-2026:23625-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- openSUSE-SU-2026:21761-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2026:3916-1 · SUSE Linux Enterprise Module for Public Cloud 15 SP4, SUSE Linux Enterprise Module for Public Cloud 15 SP5 ·
Stack: system
Affected products and versions
go-git
- Versions
- < 5.19.2: Affected
- >= 6.0.0-alpha.1, < 6.0.0-alpha.5: Affected
No fix published
golang-github-go-git-go-git Debian 12
- 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
All versions (14)
- 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
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-go-git-go-git Debian 13
- 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
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-go-git-go-git Debian 14
- Versions
- 5.14.0-1
- 5.16.2-1
- 5.17.0-1
- 5.17.1-1
- 5.19.1-1
- Affected ranges
- ECOSYSTEM: < 5.19.2-1
Update to 5.19.2-1
golang-github-go-git-go-git-v6 Debian 14
- 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
All versions (7)
- 6~git20260305.2083cf94-3
- Affected ranges
- ECOSYSTEM: < 6.0.0~alpha.5-1
Update to 6.0.0~alpha.5-1
golang-github-go-git-go-git Ubuntu Pro 22.04 LTS
- Versions
- 5.4.2-3
- 5.4.2-3ubuntu0.1~esm1
- 5.4.2-3ubuntu0.1~esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-go-git-go-git Ubuntu Pro 24.04 LTS
- 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
All versions (9)
- 5.4.2-4ubuntu0.24.04.3+esm1
- 5.4.2-4ubuntu0.24.04.3+esm2
- 5.4.2-4ubuntu0.24.04.3+esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-go-git-go-git-v6 Ubuntu 26.10
- Versions
- 6.0.0~alpha.4-1
- 6.0.0~alpha.4-2
- 6.0.0~alpha.5-1
- 6.0.0~alpha.5-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-go-git-go-git Ubuntu Pro 26.04 LTS
- Versions
- 5.14.0-1
- 5.16.2-1
- 5.16.2-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/go-git/go-git/security/advisories/GHSA-hc8v-wwc9-vgxm
- https://github.com/go-git/go-git/commit/008a78f2dd86f52544ddff8b8e8ddeecdf3f7aab
- https://github.com/go-git/go-git/commit/661d1c7f101d34e002a3cfcf8dbea5b7421d07ac
- https://github.com/go-git/go-git/releases/tag/v5.19.2
- https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.5
- https://nvd.nist.gov/vuln/detail/CVE-2026-71556