high7.5
CVE-2025-8959
HashiCorp go-getter Vulnerable to Symlink Attacks
Impact
HashiCorp's go-getter library subdirectory download feature is vulnerable to symlink attacks leading to unauthorized read access beyond the designated directory boundaries. This vulnerability, identified as CVE-2025-8959, is fixed in go-getter 1.7.9.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/hashicorp/go-getter | < 1.7.9 | 1.7.9 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Hashicorp | Go-Getter | before 1.7.9 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://discuss.hashicorp.com/t/hcsec-2025-23-hashicorp-go-getter-vulnerable-to-arbitrary-read-through-symlink-attack/76242
- https://github.com/advisories/GHSA-wjrx-6529-hcj3
- https://nvd.nist.gov/vuln/detail/CVE-2025-8959
- https://github.com/hashicorp/go-getter/commit/87541b2501c00df5eaedea6acc61a2a4a4efa5b7
- https://pkg.go.dev/vuln/GO-2025-3892