Symlink Attack Affecting github.com/hashicorp/go-getter package, versions <1.7.9


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMHASHICORPGOGETTER-11951454
  • published17 Aug 2025
  • disclosed15 Aug 2025
  • creditUnknown

Introduced: 15 Aug 2025

NewCVE-2025-8959  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade github.com/hashicorp/go-getter to version 1.7.9 or higher.

Overview

github.com/hashicorp/go-getter is a Package for downloading things from a string URL using a variety of protocols.

Affected versions of this package are vulnerable to Symlink Attack due to handling symbolic links in the specific subdirectories from a fetched source. An attacker can access arbitrary files on the system by supplying a crafted symlink that points to sensitive locations.

CVSS Base Scores

version 4.0
version 3.1