Skip to content

← Public intelligence

Go package

github.com/hashicorp/go-getter

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

10 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 7.5GoPublished

    HashiCorp's go-getter library may allow arbitrary file reads

    CVE-2026-4660 · GHSA-92mm-2pjq-r785

    Affected
    • Go github.com/hashicorp/go-getter < 1.8.6
    Fixed in
    1.8.6· Vendor fix available
    Issue
    HashiCorp's go-getter library up to v1.8.5 may allow arbitrary file reads on the file system during certain git operations through a maliciously crafted URL. This is fixed in go-getter v1.8.6. This vulnerability does not affect the go-getter/v2 branch and package.

    Recommended action: Upgrade to 1.8.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. High, CVSS 7.5GoPublished

    HashiCorp go-getter Vulnerable to Symlink Attacks

    CVE-2025-8959 · GHSA-wjrx-6529-hcj3

    Affected
    • Go github.com/hashicorp/go-getter < 1.7.9
    Fixed in
    1.7.9· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.7.9 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. High, CVSS 8.4GoPublished

    HashiCorp go-getter Vulnerable to Code Execution On Git Update Via Git Config Manipulation

    CVE-2024-6257 · GHSA-xfhp-jf8p-mh5w

    Affected
    • Go github.com/hashicorp/go-getter < 1.7.5
    Fixed in
    1.7.5· Vendor fix available
    Issue
    HashiCorp’s go-getter library can be coerced into executing Git update on an existing maliciously modified Git Configuration, potentially leading to arbitrary code execution. When go-getter is performing a Git operation, go-getter will try to clone the given repository in a specified destination. Cloning initializes a git config to the provided destination and if the repository needs to get updated go-getter will pull the new changes . An attacker may alter the Git config after the cloning step to set an arbitrary Git configuration to achieve code execution.

    Recommended action: Upgrade to 1.7.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. Critical, CVSS 9.8GoPublished

    HashiCorp go-getter Vulnerable to Argument Injection When Fetching Remote Default Git Branches

    CVE-2024-3817 · GHSA-q64h-39hv-4cf7

    Affected
    • Go github.com/hashicorp/go-getter >= 1.5.9, < 1.7.4
    Fixed in
    1.7.4· Vendor fix available
    Issue
    When go-getter is performing a Git operation, go-getter will try to clone the given repository. If a Git reference is not passed along with the Git url, go-getter will then try to check the remote repository’s HEAD reference of its default branch by passing arguments to the Git binary on the host it is executing on. An attacker may format a Git URL in order to inject additional Git arguments to the Git call. Consumers of the go-getter library should evaluate the risk associated with these issues in the context of their go-getter usage and upgrade go-getter to 1.7.4 or later.

    Recommended action: Upgrade to 1.7.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. Medium, CVSS 4.2GoPublished

    Data Amplification in HashiCorp go-getter

    CVE-2023-0475 · GHSA-jpxj-2jvg-6jv9

    Affected
    • Go github.com/hashicorp/go-getter < 1.7.0
    Fixed in
    1.7.0· Vendor fix available
    Issue
    HashiCorp go-getter up to 1.6.2 and 2.1.1 is vulnerable to decompression bombs. Fixed in 1.7.0 and 2.2.0.

    Recommended action: Upgrade to 1.7.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. High, CVSS 8.6GoPublished

    HashiCorp go-getter unsafe downloads could lead to arbitrary host access

    CVE-2022-30322 · GHSA-cjr4-fv6c-f3mv

    Affected
    • Go github.com/hashicorp/go-getter < 1.6.1; >= 2.0.0, < 2.1.0
    Fixed in
    1.6.12.1.0· Vendor fix available
    Issue
    HashiCorp go-getter through 2.0.2 does not safely perform downloads. Arbitrary host access was possible via go-getter path traversal, symlink processing, and command injection flaws.

    Recommended action: Upgrade to 2.1.0 or 1.6.1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  7. High, CVSS 8.6GoPublished

    HashiCorp go-getter unsafe downloads could lead to asymmetric resource exhaustion

    CVE-2022-30323 · GHSA-28r2-q6m8-9hpx

    Affected
    • Go github.com/hashicorp/go-getter < 1.6.1; >= 2.0.0, < 2.1.0
    Fixed in
    1.6.12.1.0· Vendor fix available
    Issue
    HashiCorp go-getter through 2.0.2 does not safely perform downloads. Asymmetric resource exhaustion could occur when go-getter processed malicious HTTP responses.

    Recommended action: Upgrade to 2.1.0 or 1.6.1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  8. High, CVSS 8.6GoPublished

    HashiCorp go-getter unsafe downloads

    CVE-2022-30321 · GHSA-fcgg-rvwg-jv58

    Affected
    • Go github.com/hashicorp/go-getter < 1.6.1; >= 2.0.0, < 2.1.0
    Fixed in
    1.6.12.1.0· Vendor fix available
    Issue
    HashiCorp go-getter through 2.0.2 does not safely perform downloads. Protocol switching, endless redirect, and configuration bypass were possible via abuse of custom HTTP response header processing.

    Recommended action: Upgrade to 2.1.0 or 1.6.1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  9. Critical, CVSS 9.8GoPublished

    HashiCorp go-getter command injection

    CVE-2022-26945 · GHSA-x24g-9w7v-vprh

    Affected
    • Go github.com/hashicorp/go-getter < 1.6.1; >= 2.0.0, < 2.1.0
    Fixed in
    1.6.12.1.0· Vendor fix available
    Issue
    HashiCorp go-getter before 2.0.2 allows Command Injection.

    Recommended action: Upgrade to 2.1.0 or 1.6.1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  10. Medium, CVSS 5.5GoPublished

    Insertion of Sensitive Information into Log File in Hashicorp go-getter

    CVE-2022-29810 · GHSA-27rq-4943-qcwp

    Affected
    • Go github.com/hashicorp/go-getter < 1.5.11
    Fixed in
    1.5.11· Vendor fix available
    Issue
    The Hashicorp go-getter library before 1.5.11 could write SSH credentials into its logfile, exposing sensitive credentials to local users able to read the logfile.

    Recommended action: Upgrade to 1.5.11 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →