VDB
KO

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