Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/hashicorp/go-getter
  4. ›
  5. CVE-2025-8959

CVE-2025-8959: HashiCorp go-getter Vulnerable to Symlink Attacks

August 15, 2025 (updated August 29, 2025)

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

  • discuss.hashicorp.com/t/hcsec-2025-23-hashicorp-go-getter-vulnerable-to-arbitrary-read-through-symlink-attack/76242
  • github.com/advisories/GHSA-wjrx-6529-hcj3
  • github.com/hashicorp/go-getter
  • github.com/hashicorp/go-getter/commit/87541b2501c00df5eaedea6acc61a2a4a4efa5b7
  • nvd.nist.gov/vuln/detail/CVE-2025-8959
  • pkg.go.dev/vuln/GO-2025-3892

Code Behaviors & Features

Detect and mitigate CVE-2025-8959 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.7.9

Fixed versions

  • 1.7.9

Solution

Upgrade to version 1.7.9 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

go/github.com/hashicorp/go-getter/CVE-2025-8959.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:10 +0000.