CVE-2026-19585

Go-getter vulnerable to a path traversal in S3/GCS directory download handling

Published Oct 8, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Hashicorp
Hashicorp shared Library
Vendors & Products Hashicorp
Hashicorp shared Library
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'}

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
HashiCorp
Published
Updated
Oct 8, 2026, 7:11 PM
Reserved
Aug 11, 2026, 11:43 PM
Status
Awaiting Analysis
Published
Oct 8, 2026, 4:17 PM
Modified
Oct 8, 2026, 9:07 PM
Severity
Moderate
Public date
Oct 8, 2026, 3:20 PM