CVE-2026-19585 Go-getter vulnerable to a path traversal in S3/GCS directory download handling
Attackers can write files outside the intended destination directory during S3 or GCS downloads in the Go-getter library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-19585?
CVE-2026-19585 is a medium-severity path traversal vulnerability in HashiCorp Shared library, published on 8 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2026-19585?
How do I fix CVE-2026-19585?
No fix has been published for CVE-2026-19585 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-19585 being exploited?
There is no known exploitation of CVE-2026-19585 in the wild and no public exploit code.
Sources
Also known as AZL-107799, DEBIAN-CVE-2026-19585, GHSA-86f4-5vj6-9fg3, UBUNTU-CVE-2026-19585.