GitHub Advisoryadvisory · Go
GHSA-wjrx-6529-hcj3 HashiCorp go-getter Vulnerable to Symlink Attacks
HIGH
Official page ↗
- Aliases
- CVE-2025-8959
- Ecosystem
- Go
- Packages
- github.com/hashicorp/go-getter
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-59
- Reviewed
- 2025-08-18
Affected packages
• Go github.com/hashicorp/go-getter: < 1.7.9 → fixed in 1.7.9
Description
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.
Related
Alias · CVE (1)
- CVE-2025-8959 HashiCorp's go-getter library subdirectory download feature is vulnerable to symlink attacks leading to unauthorized read access beyond the… vulnerability
Weakness · CWE (1)
- CWE-59 Improper Link Resolution Before File Access weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-8959 advisory
- https://github.com/hashicorp/go-getter/commit/87541b2501c00df5eaedea6acc61a2a4a4efa5b7 web
- https://discuss.hashicorp.com/t/hcsec-2025-23-hashicorp-go-getter-vulnerable-to-arbitrary-read-through-symlink-attack/76242 web
- https://github.com/hashicorp/go-getter package
- https://pkg.go.dev/vuln/GO-2025-3892 web