# CVE-2022-26945: HashiCorp go-getter unsafe downloads could lead to asymmetric resource exhaustion

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.74%, higher than 78% of CVEs (2026-12-01)
- Published: 2022-05-25T11:19:48.000Z
- Modified: 2026-06-17T04:36:12.547Z
- Also known as: GHSA-28r2-q6m8-9hpx, GHSA-cjr4-fv6c-f3mv, GHSA-fcgg-rvwg-jv58, GHSA-x24g-9w7v-vprh, GO-2022-0586
- Related: CVE-2022-30321, CVE-2022-30322, CVE-2022-30323
- Weaknesses: CWE-77
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/hashicorp/go-getter (Go): before 1.6.1; from 2.0.0 before 2.1.0
- github.com/hashicorp/go-getter/v2 (Go): before 2.1.0
- github.com/hashicorp/go-getter/s3/v2 (Go): before 2.1.0
- github.com/hashicorp/go-getter/gcs/v2 (Go): before 2.1.0
- hashicorp go-getter: up to 1.5.11; 2.0.2

## Every score

- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://discuss.hashicorp.com> (vendor-advisory, web)
- <https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930> (advisory, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-30323> (advisory)
- <https://github.com/hashicorp/go-getter/pull/359> (web)
- <https://github.com/hashicorp/go-getter/pull/361> (fix, web)
- <https://github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48> (fix, web)
- <https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45> (web)
- <https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library> (web)
- <https://github.com/hashicorp/go-getter> (package)
- <https://github.com/hashicorp/go-getter/releases> (web)
- <https://pkg.go.dev/vuln/GO-2022-0586> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-30322> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-30321> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-26945> (advisory)

## Sources

- CVE List: [CVE-2022-26945](https://www.cve.org/CVERecord?id=CVE-2022-26945), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-28r2-q6m8-9hpx](https://github.com/advisories/GHSA-28r2-q6m8-9hpx), CC-BY-4.0, modified 2024-05-20
- GitHub Advisory Database: [GHSA-cjr4-fv6c-f3mv](https://github.com/advisories/GHSA-cjr4-fv6c-f3mv), CC-BY-4.0, modified 2024-05-20
- GitHub Advisory Database: [GHSA-fcgg-rvwg-jv58](https://github.com/advisories/GHSA-fcgg-rvwg-jv58), CC-BY-4.0, modified 2024-03-15
- GitHub Advisory Database: [GHSA-x24g-9w7v-vprh](https://github.com/advisories/GHSA-x24g-9w7v-vprh), CC-BY-4.0, modified 2024-03-15
- Go Vulnerability Database: [GO-2022-0586](https://pkg.go.dev/vuln/GO-2022-0586), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2022-26945](https://nvd.nist.gov/vuln/detail/CVE-2022-26945), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-26945 · Whole record: https://cve.day/CVE-2022-26945.json · Rebuilt by cve.day 2026-11-25T22:58:11.926Z
