Go Vulnerability Database
GO-2026-6213
Worktree operations may follow symlinks in github.com/go-git/go-git
Details
Worktree operations may follow symlinks in github.com/go-git/go-git
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/go-git/go-git/v5 | All versions before 5.19.2 (fixed in 5.19.2) |
| Go | github.com/go-git/go-git/v6 | All versions before 6.0.0-alpha.5 (fixed in 6.0.0-alpha.5) |
References
- https://github.com/go-git/go-git/security/advisories/GHSA-hc8v-wwc9-vgxm
- https://github.com/go-git/go-git/commit/008a78f2dd86f52544ddff8b8e8ddeecdf3f7aab
- https://github.com/go-git/go-git/commit/661d1c7f101d34e002a3cfcf8dbea5b7421d07ac
- https://github.com/go-git/go-git/releases/tag/v5.19.2
- https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.5