VDB
KO

GO-2026-5058

HashiCorp's go-getter library may allow arbitrary file reads in github.com/hashicorp/go-getter

Details

HashiCorp's go-getter library up to v1.8.5 may allow arbitrary file reads on the file system during certain git operations through a maliciously crafted URL. This is fixed in go-getter v1.8.6. This vulnerability does not affect the go-getter/v2 branch and package.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / github.com/hashicorp/go-getter
Introduced in: 0 Fixed in: 1.8.6
Fix go get github.com/hashicorp/go-getter@v1.8.6

References