CVE-2026-4660

Go-getter may allow to arbitrary filesystem reads through git operations

Published Apr 9, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
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 vulnerability, CVE-2026-4660, is fixed in go-getter v1.8.6. This vulnerability does not affect the go-getter/v2 branch and package.

Analysis

AI-generated

Technical impact

The vulnerability resides in HashiCorp’s go‑getter library version 1.8.5 and earlier. A specially crafted git URL can cause the library to resolve paths that lead outside the intended repository, allowing the caller to read arbitrary files on the host file system. Attackers could thus obtain sensitive configuration files or secrets, resulting in accidental disclosure of confidential data. The weakness is reflected by CWE‑200 (Information Exposure) and CWE‑22 (Path Traversal).

Affected Systems

Affected systems include any HashiCorp tooling that uses go‑getter up to and including v1.8.5, such as HashiCorp infrastructure automation products that import modules or plugins via git. The vulnerability does not affect the go‑getter/v2 package, nor versions 1.8.6 and later, which are already patched.

Risk and Exploitability

The CVSS score of 7.5 indicates a medium‑to‑high severity, while the lack of an EPSS score suggests insufficient public exploitation data. The issue is not yet listed in CISA’s KEV catalog. The exploit would require the attacker to supply a malicious git URL; thus, attackers could target assets during provisioning or module fetch operations. The path traversal is not provided by a web interface by default, implying that the attack vector is likely restricted to automated or scripted Git operations, potentially through supply‑chain manipulation or social engineering.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade HashiCorp go‑getter to version 1.8.6 or later
  • Verify that all tooling components use the upgraded library version
  • Limit git operations to trusted sources or disable external git access when feasible
  • Monitor for unexpected file‑system access or anomalous git activity
  • Apply regular dependency updates as per best practice

Generated by OpenCVE AI on April 10, 2026 at 13:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-92mm-2pjq-r785 HashiCorp's go-getter library may allow arbitrary file reads
History
Type Values Removed Values Added
First Time appeared Hashicorp
Hashicorp tooling
Vendors & Products Hashicorp
Hashicorp tooling
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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 vulnerability, CVE-2026-4660, is fixed in go-getter v1.8.6. This vulnerability does not affect the go-getter/v2 branch and package.
Title Go-getter may allow to arbitrary filesystem reads through git operations
Weaknesses CWE-200
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
HashiCorp
Published
Updated
Jul 15, 2026, 12:50 AM
Reserved
Mar 23, 2026, 4:07 PM
Status
Awaiting Analysis
Published
Apr 9, 2026, 2:16 PM
Modified
Oct 26, 2026, 9:10 PM
Severity
Important
Public date
Apr 9, 2026, 1:47 PM