CVE-2025-8959 HashiCorp go-getter Vulnerable to Arbitrary Read through Symlink Attack
Attackers can exploit symlink attacks in go-getter to read arbitrary files outside the intended directory boundaries.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-8959?
CVE-2025-8959 is a high-severity path traversal vulnerability in HashiCorp Shared library, published on 15 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-59
Which versions are affected by CVE-2025-8959?
3 open source packages ship an affected version, including github.com/hashicorp/go-getter. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/hashicorp/go-getter Go | All versions | 1.7.9 |
github.com/hashicorp/go-getter Go | All versions | 1.7.9 |
github.com/hashicorp/go-getter Go | All versions | 1.7.9 |
Linux distribution packages (1)
terragrunt openSUSE:Tumbleweed | All versions | 0.85.1-1.1 |
Products include Hashicorp Go-Getter.
How do I fix CVE-2025-8959?
Upgrade github.com/hashicorp/go-getter to 1.7.9 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-8959 being exploited?
There is no known exploitation of CVE-2025-8959 in the wild and no public exploit code.
Other vulnerabilities in HashiCorp Shared library
Sources
Also known as BELL-CVE-2025-8959, CLEANSTART-2026-BJ71317, DEBIAN-CVE-2025-8959, GHSA-wjrx-6529-hcj3, GO-2025-3892, MINI-7q9q-grfc-38gr and 11 more.