CVE-2026-71556 Details
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.
A vulnerability exists in the go-git library, specifically in versions through 5.19.1 and 6.0.0-alpha.4, that allows worktree operations to improperly follow symbolic links. This flaw can lead to unintentional modifications of files outside the designated worktree directory. The issue arises because the worktreeFilesystem component, which is responsible for managing file operations, fails to adequately restrict symlink resolution to the boundaries of the worktree. As a result, a maliciously crafted repository with symbolic links can manipulate files beyond the intended directory when the repository is cloned and worktree operations are performed.
Users should upgrade to go-git versions 5.19.2 or 6.0.0-alpha.5, both of which include the necessary fix. Instructions for updating can be found in the release notes on the go-git GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
Affected Products
No affected product data is available for this CVE.
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 7, 2026 | New CVE Received | [email protected] |
| Aug 7, 2026 | CVE Modified | CISA-ADP |