—
GO-2026-6213
Worktree operations may follow symlinks in github.com/go-git/go-git
Quick fix
GO-2026-6213 — github.com/go-git/go-git/v5: upgrade to the fixed version with the command below.
go get github.com/go-git/go-git/v5@v5.19.2 Details
Worktree operations may follow symlinks in github.com/go-git/go-git
Are you affected?
Enter the version of the package you're using.
Affected packages
Go / github.com/go-git/go-git/v5
Introduced in:
0 Fixed in: 5.19.2 Fix
go get github.com/go-git/go-git/v5@v5.19.2 Go / github.com/go-git/go-git/v6
Introduced in:
0 Fixed in: 6.0.0-alpha.5 Fix
go get github.com/go-git/go-git/v6@v6.0.0-alpha.5 References
- https://github.com/go-git/go-git/security/advisories/GHSA-hc8v-wwc9-vgxm [ADVISORY]
- https://github.com/go-git/go-git/commit/008a78f2dd86f52544ddff8b8e8ddeecdf3f7aab [FIX]
- https://github.com/go-git/go-git/commit/661d1c7f101d34e002a3cfcf8dbea5b7421d07ac [FIX]
- 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]