Go modules package
github.com/hashicorp/go-getter
pkg:golang/github.com/hashicorp/go-getter
Vulnerabilities (10)
| CVE | Sev | CVSS | KEV | Affected versions | Fixed in | Published | Description |
|---|---|---|---|---|---|---|---|
| CVE-2026-4660 | Hig | 7.5 | < 1.8.6 | 1.8.6 | Apr 9, 2026 | HashiCorp’s go-getter library up to v1.8.5 may allow arbitrary file reads on the file system during certain git operations through a maliciously crafted URL. This vulnerability, CVE-2026-4660, is fixed in go-getter v1.8.6. This vulnerability does not affect the go-getter/v2 branc | |
| CVE-2025-8959 | — | < 1.7.9 | 1.7.9 | Aug 15, 2025 | HashiCorp's go-getter library subdirectory download feature is vulnerable to symlink attacks leading to unauthorized read access beyond the designated directory boundaries. This vulnerability, identified as CVE-2025-8959, is fixed in go-getter 1.7.9. | ||
| CVE-2024-6257 | — | < 1.7.5 | 1.7.5 | Jun 25, 2024 | HashiCorp’s go-getter library can be coerced into executing Git update on an existing maliciously modified Git Configuration, potentially leading to arbitrary code execution. | ||
| CVE-2024-3817 | — | >= 1.5.9, < 1.7.4 | 1.7.4 | Apr 17, 2024 | HashiCorp’s go-getter library is vulnerable to argument injection when executing Git to discover remote branches. This vulnerability does not affect the go-getter/v2 branch and package. | ||
| CVE-2023-0475 | — | < 1.7.0 | 1.7.0 | Feb 16, 2023 | HashiCorp go-getter up to 1.6.2 and 2.1.1 is vulnerable to decompression bombs. Fixed in 1.7.0 and 2.2.0. | ||
| CVE-2022-26945 | — | < 1.6.1 | 1.6.1 | May 25, 2022 | go-getter up to 1.5.11 and 2.0.2 allowed protocol switching, endless redirect, and configuration bypass via abuse of custom HTTP response header processing. Fixed in 1.6.1 and 2.1.0. | ||
| CVE-2022-30321 | — | < 1.6.1 | 1.6.1 | May 25, 2022 | go-getter up to 1.5.11 and 2.0.2 allowed arbitrary host access via go-getter path traversal, symlink processing, and command injection flaws. Fixed in 1.6.1 and 2.1.0. | ||
| CVE-2022-30322 | — | < 1.6.1 | 1.6.1 | May 25, 2022 | go-getter up to 1.5.11 and 2.0.2 allowed asymmetric resource exhaustion when go-getter processed malicious HTTP responses. Fixed in 1.6.1 and 2.1.0. | ||
| CVE-2022-30323 | — | < 1.6.1 | 1.6.1 | May 25, 2022 | go-getter up to 1.5.11 and 2.0.2 panicked when processing password-protected ZIP files. Fixed in 1.6.1 and 2.1.0. | ||
| CVE-2022-29810 | — | < 1.5.11 | 1.5.11 | Apr 27, 2022 | The Hashicorp go-getter library before 1.5.11 does not redact an SSH key from a URL query parameter. |
- affected < 1.8.6fixed 1.8.6
HashiCorp’s go-getter library up to v1.8.5 may allow arbitrary file reads on the file system during certain git operations through a maliciously crafted URL. This vulnerability, CVE-2026-4660, is fixed in go-getter v1.8.6. This vulnerability does not affect the go-getter/v2 branc
- CVE-2025-8959Aug 15, 2025affected < 1.7.9fixed 1.7.9
HashiCorp's go-getter library subdirectory download feature is vulnerable to symlink attacks leading to unauthorized read access beyond the designated directory boundaries. This vulnerability, identified as CVE-2025-8959, is fixed in go-getter 1.7.9.
- CVE-2024-6257Jun 25, 2024affected < 1.7.5fixed 1.7.5
HashiCorp’s go-getter library can be coerced into executing Git update on an existing maliciously modified Git Configuration, potentially leading to arbitrary code execution.
- CVE-2024-3817Apr 17, 2024affected >= 1.5.9, < 1.7.4fixed 1.7.4
HashiCorp’s go-getter library is vulnerable to argument injection when executing Git to discover remote branches. This vulnerability does not affect the go-getter/v2 branch and package.
- CVE-2023-0475Feb 16, 2023affected < 1.7.0fixed 1.7.0
HashiCorp go-getter up to 1.6.2 and 2.1.1 is vulnerable to decompression bombs. Fixed in 1.7.0 and 2.2.0.
- CVE-2022-26945May 25, 2022affected < 1.6.1fixed 1.6.1
go-getter up to 1.5.11 and 2.0.2 allowed protocol switching, endless redirect, and configuration bypass via abuse of custom HTTP response header processing. Fixed in 1.6.1 and 2.1.0.
- CVE-2022-30321May 25, 2022affected < 1.6.1fixed 1.6.1
go-getter up to 1.5.11 and 2.0.2 allowed arbitrary host access via go-getter path traversal, symlink processing, and command injection flaws. Fixed in 1.6.1 and 2.1.0.
- CVE-2022-30322May 25, 2022affected < 1.6.1fixed 1.6.1
go-getter up to 1.5.11 and 2.0.2 allowed asymmetric resource exhaustion when go-getter processed malicious HTTP responses. Fixed in 1.6.1 and 2.1.0.
- CVE-2022-30323May 25, 2022affected < 1.6.1fixed 1.6.1
go-getter up to 1.5.11 and 2.0.2 panicked when processing password-protected ZIP files. Fixed in 1.6.1 and 2.1.0.
- CVE-2022-29810Apr 27, 2022affected < 1.5.11fixed 1.5.11
The Hashicorp go-getter library before 1.5.11 does not redact an SSH key from a URL query parameter.