Symlink Vulnerability in go-git by The Go Programming Language
CVE-2026-71556

7.1HIGH

Key Information:

Vendor

Go-git

Status
Vendor
CVE Published:
7 August 2026

What is CVE-2026-71556?

The go-git library, a Git implementation written in Go, is susceptible to a vulnerability that affects worktree operations. Prior to version 5.19.2 and 6.0.0-alpha.5, this flaw enables malicious repositories containing symbolic links to manipulate file reading and writing operations outside the designated working directory. This behavior can lead to unauthorized access to sensitive files when users execute worktree actions such as checkout, status, or add. Updating to the latest versions is essential for maintaining security.

Affected Version(s)

go-git < 5.19.2 < 5.19.2

go-git >= 6.0.0-alpha.1, < 6.0.0-alpha.5 < 6.0.0-alpha.1, 6.0.0-alpha.5

References

CVSS V3.1

Score:
7.1
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.