CVE-2026-4660: Go-getter may allow to arbitrary filesystem reads through git operations
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.
Other sources
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 vulnerability, CVE-2026-4660, is fixed in go-getter v1.8.6. This vulnerability does not affect the go-getter/v2 branch and package.
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
go/github.com/hashicorp/go-getterto a version that resolves this vulnerability.Fixed in 1.8.6 - Upgrade
Upgrade
go-getterto a version that resolves this vulnerability.Fixed in v1.8.6Patch CVE-2026-4660