# CVE-2026-71556: go-git: Worktree operations may follow symlinks

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-08-07T16:37:40.058Z
- Modified: 2026-09-10T20:41:33.140Z
- Also known as: GHSA-hc8v-wwc9-vgxm, GO-2026-6213
- Related: CGA-76w3-rghh-v4jj
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- go-git go-git: < 5.19.2; >= 6.0.0-alpha.1, < 6.0.0-alpha.5
- github.com/go-git/go-git/v5 (Go): before 5.19.2
- github.com/go-git/go-git/v6 (Go): before 6.0.0-alpha.5

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L`

## References

- <https://github.com/go-git/go-git/security/advisories/GHSA-hc8v-wwc9-vgxm> (advisory, web)
- <https://github.com/go-git/go-git/commit/008a78f2dd86f52544ddff8b8e8ddeecdf3f7aab> (fix, web)
- <https://github.com/go-git/go-git/commit/661d1c7f101d34e002a3cfcf8dbea5b7421d07ac> (fix, web)
- <https://github.com/go-git/go-git/releases/tag/v5.19.2> (web)
- <https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.5> (web)
- <https://github.com/go-git/go-git> (package)

## Sources

- CVE List: [CVE-2026-71556](https://www.cve.org/CVERecord?id=CVE-2026-71556), CVE Terms of Use, modified 2026-08-07
- GitHub Advisory Database: [GHSA-hc8v-wwc9-vgxm](https://github.com/advisories/GHSA-hc8v-wwc9-vgxm), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-6213](https://pkg.go.dev/vuln/GO-2026-6213), CC-BY-4.0, modified 2026-09-01
- NVD: [CVE-2026-71556](https://nvd.nist.gov/vuln/detail/CVE-2026-71556), Public domain, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-71556 · Whole record: https://cve.day/CVE-2026-71556.json · Rebuilt by cve.day 2026-11-25T22:59:31.865Z
