Go Vulnerability Database
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/hashicorp/go-getter | All versions before 1.8.6 (fixed in 1.8.6) |