CVE-2026-71556: go-git - Path Traversal
- Cve: CVE-2026-71556
- Name: go-git - Path Traversal
- 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.
- Impact: Attackers can read or write files outside the intended directory, potentially leading to data tampering or information disclosure.
- Remediation: Update to version 5.19.2 or 6.0.0-alpha.5 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_read, file_system_write, information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
- Epss score: 0.00357
- Epss percentile: 0.29808
- Assignee: [email protected]
- Published at: 2026-08-07T17:17:10Z
- Age in days: 109
- Modified at: 2026-09-10T20:41:33Z
- Patch available: yes
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-71556
- Nvd status: awaiting_analysis
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-59 | Improper Link Resolution Before File Access |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| go-git_project:go-git | >= 6.0.0-alpha.1, < 6.0.0-alpha.5; < 5.19.2 | no | cna_alias_text | /v1/products/go-git_project/go-git |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| go-git/go-git | commit, fix, package, releases, security_advisory | yes | /v1/repositories/go-git/go-git |
Index
- Repositories: 222
- Repositories high signal: 63
- Packages: 2
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts