ADVISORIES

Go Vulnerability Database

GO-2026-5336

Go-git: Crafted repositories may modify main and submodule .git directories in github.com/go-git/go-git

Details

Go-git: Crafted repositories may modify main and submodule .git directories in github.com/go-git/go-git

Affected packages

EcosystemPackageAffected versions
Gogithub.com/go-git/go-git/v5
All versions before 5.19.1 (fixed in 5.19.1)

References