CVE-2026-4660: HashiCorp's go-getter library may allow arbitrary file reads
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.
Published Apr 9, 2026 · Updated Apr 10, 2026
Affected packages
github.com/hashicorp/go-getter
- Ecosystem
- Go
- Affected
- < 1.8.6
- Fixed in
- 1.8.6
- Check
go list -m github.com/hashicorp/go-getter
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2025-8959
HashiCorp go-getter Vulnerable to Symlink Attacks
high7.5Aug 15, 2025CVE-2024-6257
HashiCorp go-getter Vulnerable to Code Execution On Git Update Via Git Config Manipulation
high8.4Jun 25, 2024CVE-2024-3817
HashiCorp go-getter Vulnerable to Argument Injection When Fetching Remote Default Git Branches
critical9.8Apr 17, 2024
