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 18, 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

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. Learn more about Dependency Scanning →

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 Tue, 19 Aug 2025 12:19:41 +0000.