GHSA-wjrx-6529-hcj3
HashiCorp go-getter Vulnerable to Symlink Attacks
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/hashicorp/go-getter | < 1.7.9 | 1.7.9 |
Details
As written in the advisory (Markdown source, shown as plain text).
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
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2025-8959
- https://github.com/hashicorp/go-getter/commit/87541b2501c00df5eaedea6acc61a2a4a4efa5b7
- 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
- https://pkg.go.dev/vuln/GO-2025-3892