cve.bz

CVE-2026-19585 hashicorp shared library: Path traversal

5.3 mediumEPSS 0.2%Fix available

Medium (5.3) in hashicorp shared library. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 11th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-19585 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-19585?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-19585?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-19585 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • hashicorp:shared library

Versions

From the CNA's record in the CVE List.

ProductAffected
HashiCorp Shared libraryfrom 1.0.1 before 2.2.5

Fixed in

ProductFixed in
HashiCorp Shared library1.8.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-github-hashicorp-go-getterno fix listedDEBIAN-CVE-2026-19585
Debian14golang-github-hashicorp-go-getter1.8.9-1DEBIAN-CVE-2026-19585
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 1 moregolang-github-hashicorp-go-getterno fix listedUBUNTU-CVE-2026-19585
openSUSELeap 16.0trivy0.76.1-160000.1.1openSUSE-SU-2026:22178-1
openSUSELeap 16.1trivy0.76.1-160100.1.1openSUSE-SU-2026:22233-1
Azure Linux3packer1.9.5-23AZL-107799

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate impact because exploitation requires user interaction or an automated workflow configured to retrieve remote assets from an untrusted or adversary-controlled cloud storage location. Go-getter is embedded as a dependency across select Red Hat container utilities and tooling. Although directory extraction flaws could allow an attacker controlling an S3 or Google Cloud Storage bucket to write files outside the intended destination directory, typical deployments only fetch content from trusted and vetted cloud repositories.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Exploit Intelligenceexploit-intelligence/agent-client-rhel9Out of support scope
Red Hat Hardened ImagesgrypeNot affected
Red Hat Hardened Imagesopentofu1.10Not affected
Red Hat Hardened Imagesopentofu1.11Will not fix
Red Hat Hardened Imagesopentofu1.12Not affected
Red Hat Hardened ImagessyftNot affected
Red Hat Hardened ImagestrivyNot affected
Red Hat Trusted Artifact Signerrhtas/ec-rhel9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-19585.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON