CVE-2025-8959: HashiCorp go-getter Vulnerable to Symlink Attacks
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.
Published Aug 15, 2025 · Updated Aug 29, 2025
Affected packages
github.com/hashicorp/go-getter
- Ecosystem
- Go
- Affected
- < 1.7.9
- Fixed in
- 1.7.9
- 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 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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-8959
- https://discuss.hashicorp.com/t/hcsec-2025-23-hashicorp-go-getter-vulnerable-to-arbitrary-read-through-symlink-attack/76242
- https://github.com/hashicorp/go-getter/commit/87541b2501c00df5eaedea6acc61a2a4a4efa5b7
- https://pkg.go.dev/vuln/GO-2025-3892
- https://github.com/advisories/GHSA-wjrx-6529-hcj3
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-2026-4660
HashiCorp's go-getter library may allow arbitrary file reads
high7.5Apr 9, 2026CVE-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
