CVE-2026-71556
Published:August 07, 2026
Updated:September 01, 2026
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.
Affected Packages
https://github.com/go-git/go-git.git (GITHUB):
Affected version(s) >=v5.0.0 <v5.19.2Fix Suggestion:
Update to version v5.19.2https://github.com/go-git/go-git.git (GITHUB):
Affected version(s) >=v6.0.0-alpha.1 <v6.0.0-alpha.5Fix Suggestion:
Update to version v6.0.0-alpha.5github.com/go-git/go-git/v5 (GO):
Affected version(s) >=v5.0.0 <v5.19.2Fix Suggestion:
Update to version v5.19.2github.com/go-git/go-git/v5 (GO):
Affected version(s) >=v5.0.0 <v5.19.2Fix Suggestion:
Update to version v5.19.2github.com/go-git/go-git/v6 (GO):
Affected version(s) >=v6.0.0-alpha.1 <v6.0.0-alpha.5Fix Suggestion:
Update to version v6.0.0-alpha.5github.com/go-git/go-git/v6 (GO):
Affected version(s) >=v6.0.0-alpha.1 <v6.0.0-alpha.5Fix Suggestion:
Update to version v6.0.0-alpha.5Related Resources (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
Improper Link Resolution Before File Access ('Link Following')
EPSS
Base Score:
0.36