VDB
Sign up

GO-2026-6214

Path traversal via crafted reference names in github.com/go-git/go-git

Quick fix

GO-2026-6214 — 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

Path traversal via crafted reference names 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: 0Fixed in: 5.19.2
Fixgo get github.com/go-git/go-git/v5@v5.19.2
Go/github.com/go-git/go-git/v6
Introduced in: 0Fixed in: 6.0.0-alpha.5
Fixgo get github.com/go-git/go-git/v6@v6.0.0-alpha.5

References