What’s Vulnerable › Vulnerabilities

CVE-2026-19585: Go-getter vulnerable to a path traversal in S3/GCS directory download handling

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.

Affected products

How to fix

Upgrade to a fixed version: HashiCorp Shared library 2.2.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-19585 or the next vulnerability affects your stack