GO-2026-5058
HashiCorp's go-getter library may allow arbitrary file reads in github.com/hashicorp/go-getter
At a glance
- Published
- Updated
- CVE
- CVE-2026-4660
- Aliases
- GHSA-92mm-2pjq-r785
Description
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
| Package | Versions |
|---|---|
| Go · github.com/hashicorp/go-getter | introduced 0, fixed 1.8.6 |
References
- https://github.com/advisories/GHSA-92mm-2pjq-r785 ADVISORY
- https://discuss.hashicorp.com/t/hcsec-2026-04-go-getter-may-allow-to-arbitrary-filesystem-reads-through-git-operations/77311 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |