Skip to main content

HashiCorp go-getter CVE-2026-19585

| EUVDEUVD-2026-95078 MEDIUM
Path Traversal (CWE-22)
2026-10-08 HashiCorp GHSA-86f4-5vj6-9fg3
5.3
CVSS 3.1 · Vendor: HashiCorp
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Stage malicious object keys in attacker-controlled S3/GCS bucket
  2. Delivery
    Victim initiates go-getter directory download
  3. Exploit
    Path traversal bypasses destination boundary
  4. Execution
    Files written outside intended directory
  5. Impact
    Overwrite host files / plant code

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to use go-getter (directly or via an embedding tool such as Terraform, Packer, or Nomad) to perform a directory download specifically from an S3 or GCS source, and the attacker must control or tamper with that bucket's contents to insert object keys containing path-traversal sequences. The flaw is confined to the S3 and GCS directory-download handling paths - other getter protocols are not implicated. Limiting factors: the victim must actively initiate the download toward the malicious source (UI:R), the attack has high complexity (AC:H) because the attacker must influence remote bucket contents, and only versions below go-getter 1.8.10 / go-getter/v2 2.2.5 are affected, so patched consumers are not exploitable.

Impact

This is a medium-severity integrity flaw (CVSS 5.3) whose real-world priority is moderate rather than urgent. The CVSS vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N shows two significant mitigating factors: high attack complexity (AC:H) and required user interaction (UI:R), meaning the victim must actively initiate a go-getter download pointing at an attacker-influenced S3 or GCS source. The only impact is to integrity (I:H) via arbitrary file write outside the intended destination; there is no confidentiality or availability impact and no scope change (S:U). No EPSS score was provided in the input, and there is no CISA KEV listing and no public proof-of-concept referenced, so there is no evidence of active or imminent exploitation. The vendor (HashiCorp) both reported and patched the issue, which is a strong confirmation signal for the defect itself but says nothing about exploitation prevalence. Net: a real, legitimately-patchable supply-chain-style weakness that matters because go-getter underpins widely-used infrastructure tooling, but the AC:H/UI:R preconditions and integrity-only impact keep it below the threshold of an emergency. Note the conflict to verify: raw arbitrary file write could escalate to code execution in some deployments (e.g., overwriting scripts or config consumed later), which the CVSS integrity-only scoring does not capture.

Exploit ScenarioDerived

An attacker who controls or can tamper with an S3 or GCS bucket that a victim fetches from crafts object keys containing path-traversal sequences. When the victim runs a go-getter-based download (e.g., via Terraform, Packer, or Nomad module/artifact retrieval) of that directory, files are written outside the requested destination, potentially overwriting sensitive files on the host. No public exploit code was identified at time of analysis, and success depends on the high-complexity preconditions in the CVSS vector (AC:H, UI:R).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 08, 2026

Path traversal in HashiCorp go-getter's S3 and GCS directory-download handling lets files be written outside the requested destination, affecting go-getter before 1.8.10 and go-getter/v2 before 2.2.5. Unauthenticated remote attackers (CVSS PR:N) can only succeed if a victim initiates a download against an attacker-influenced S3 or GCS bucket that contains crafted object keys with traversal sequences, which is why the vector requires user interaction (UI:R) and carries high attack complexity (AC:H); the resulting impact is integrity-only (CVSS 5.3, I:H with no confidentiality or availability effect). No public exploit code and no confirmed active exploitation were identified at time of analysis, and vendor patches are available.

RemediationAI

Vendor-released patch: upgrade go-getter to 1.8.10 or later on the v1 line, and go-getter/v2 to 2.2.5 or later, per HashiCorp advisory HCSEC-2026-44 (https://discuss.hashicorp.com/t/hcsec-2026-44-go-getter-vulnerable-to-a-path-traversal-in-s3-gcs-directory-download-handling/77819); consumers that embed the library (Terraform, Packer, Nomad, custom tooling) must rebuild against the fixed module version rather than relying on a transitive dependency bump. Where immediate upgrades are not possible, compensate by only running S3/GCS directory downloads against buckets whose write access is tightly controlled and monitored, since the attack requires tampering with bucket contents; avoid directory-mode downloads from third-party or shared buckets entirely (trade-off: manual artifact retrieval or a staging/mirror bucket adds operational steps). Run download processes with least privilege and in a container or filesystem sandbox with read-only or narrowly scoped writable mounts so that traversal writes cannot land in sensitive locations (trade-off: restricts legitimate write destinations and may break existing workflows), and consider pre-validating or rejecting object keys that contain '..' segments before extraction (trade-off: requires custom tooling outside the library).

Affected VersionsENISA

Shared library 1.0.1 <2.2.5

Affected Packages

euvd shared_library fix: 2.2.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

go-getter is a Go library and CLI used to fetch artifacts from many source types (Git, HTTP, S3, GCS, local files) and is embedded by HashiCorp tooling such as Terraform, Packer, and Nomad. The flaw is a CWE-22 path traversal specifically in the S3 and GCS getter directory-download code paths: when enumerating and writing objects from a bucket into a destination directory, object keys were not sufficiently canonicalized/confined to the destination root, so keys containing '../' sequences (or equivalent) could resolve to paths outside the intended directory and be written there. Other getter protocols are not implicated. The advisory data maps the affected component to CPE cpe:2.3:a:hashicorp:shared_library and the ENISA EUVD entry lists affected versions as shared library 1.0.1 through <2.2.5, reflecting the library packaging rather than a standalone application; the vendor advisory is HCSEC-2026-44.

Know when Shared Library gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (HashiCorp) PRIMARY 5.3 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
vuln.today AI 5.3 MEDIUM

Remote S3/GCS source (AV:N), no auth (PR:N), but attacker must shape remote bucket contents (AC:H) and victim must trigger the download (UI:R); impact is arbitrary file write, so I:H with C:N/A:N.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (HashiCorp).

CVSS VectorVendor: HashiCorp

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Oct 08, 2026 - 17:03 EUVD
CVE Published
Oct 08, 2026 - 15:20 cve.org
MEDIUM 5.3

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
High
core download library embedded in widely-used HashiCorp tools (Terraform, Packer, Nomad)
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy