[ CVE-2026-71556 · Published 7 Aug 2026 ]
Vulnerability in go-git
[ Description ]Official 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.
[ Fixes ]Fixes and patches
No fix or interim patch is linked from our sources yet. Check the vendor references below and limit exposure of affected systems until a fix is available.
[ Advisories ]Government CERT advisories
-
BSI CERT-BundWID-SEC-2026-4175
Red Hat OpenShift GitOps (go-git): Vulnerability allows file manipulation Translated from German
-
CERT-FRCERTFR-2026-AVI-1385
Multiple vulnerabilities in VMware products Translated from French
Multiple vulnerabilities have been discovered in VMware products. They allow an attacker to cause a security problem not specified by the vendor.
[ References ]References
- github.com/go-git/go-git/security/advisories/GHSA-hc8v-wwc9-vgxmx_refsource_CONFIRM
- github.com/go-git/go-git/commit/008a78f2dd86f52544ddff8b8e8ddeecdf3f7aabx_refsource_MISC
- github.com/go-git/go-git/commit/661d1c7f101d34e002a3cfcf8dbea5b7421d07acx_refsource_MISC
- github.com/go-git/go-git/releases/tag/v5.19.2x_refsource_MISC
- github.com/go-git/go-git/releases/tag/v6.0.0-alpha.5x_refsource_MISC