Description
HashiCorp go-getter versions before 1.8.10 and go-getter/v2 versions before 2.2.5 are vulnerable to path traversal during S3 and GCS directory downloads, which may allow files to be written outside the requested destination. This vulnerability (CVE-2026-19585) is fixed in go-getter 1.8.10 and go-getter/v2 2.2.5.
Published: 2026-10-08
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Arbitrary File Write
Action: Patch
AI Analysis

Impact

A path traversal flaw in Go-getter’s handling of S3 and GCS directory downloads permits an attacker to write files to locations outside the intended destination. This flaw can be leveraged to drop or overwrite arbitrary files on the target machine, potentially compromising configuration files, binaries, or other sensitive data. The weakness is a classic relative path traversal, classified as CWE‑22, and could affect confidentiality, integrity, and availability of the system.

Affected Systems

The vulnerability exists in HashiCorp’s go-getter shared library for versions prior to 1.8.10 and in go-getter/v2 for versions prior to 2.2.5. Systems that rely on these libraries for downloading S3 or GCS directories without patching are affected.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. Although EPSS data are not available, there is no record of exploitation in the KEV catalog. The flaw requires an attacker to supply a malicious S3 or GCS download request; the resulting path traversal operates locally within the process context, so an unprivileged application could still inject arbitrary files, but elevated privileges would increase the impact. The lack of publicly known exploits suggests a lower immediate threat, but the potential to write arbitrary files warrants attention.

Generated by OpenCVE AI on October 8, 2026 at 17:55 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to go-getter 1.8.10 or later, or upgrade to go-getter/v2 2.2.5 or later.
  • Restrict filesystem permissions of the process performing downloads to the minimal directories required, limiting the potential damage if path traversal occurs.
  • Validate and sanitize download URLs and paths before initiating a download to ensure they do not contain traversal components.

Generated by OpenCVE AI on October 8, 2026 at 17:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 08 Oct 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Hashicorp
Hashicorp shared Library
Vendors & Products Hashicorp
Hashicorp shared Library

Thu, 08 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
Description HashiCorp go-getter versions before 1.8.10 and go-getter/v2 versions before 2.2.5 are vulnerable to path traversal during S3 and GCS directory downloads, which may allow files to be written outside the requested destination. This vulnerability (CVE-2026-19585) is fixed in go-getter 1.8.10 and go-getter/v2 2.2.5.
Title Go-getter vulnerable to a path traversal in S3/GCS directory download handling
Weaknesses CWE-22
References
Metrics cvssV3_1

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


Subscriptions

Hashicorp Shared Library
cve-icon MITRE

Status: PUBLISHED

Assigner: HashiCorp

Published:

Updated: 2026-10-08T19:11:51.256Z

Reserved: 2026-08-11T23:43:34.691Z

Link: CVE-2026-19585

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-08T16:17:10.490

Modified: 2026-10-08T20:17:36.220

Link: CVE-2026-19585

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-08T20:00:02Z

Weaknesses
  • CWE-22

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