Vulnerabilities / CVE-2022-26945

critical

CVE-2022-26945

go-getter: command injection vulnerability

Published Modified
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
go::GitHub Security Advisory Gogithub.com/hashicorp/go-getter, github.com/hashicorp/go-getter/gcs/v2, github.com/hashicorp/go-getter/s3/v2 and 1 more1.6.1, 2.1.0 and 1 more
debian 10golang-github-hashicorp-go-getterno fix listed
debian 11golang-github-hashicorp-go-getterno fix listed
debian 12golang-github-hashicorp-go-getterno fix listed
echogolang-github-hashicorp-go-getterno fix listed
rapidfort debian 12golang-github-hashicorp-go-getterno fix listed
rapidfort debian 13golang-github-hashicorp-go-getterno fix listed
ubuntu 18.04-ESMgolang-github-hashicorp-go-getterno fix listed
ubuntu 20.04-ESMgolang-github-hashicorp-go-getter, golang-github-jesseduffield-go-getterno fix listed
ubuntu 22.04golang-github-hashicorp-go-getter, golang-github-jesseduffield-go-getterno fix listed
ubuntu 24.04golang-github-hashicorp-go-getter, golang-github-jesseduffield-go-getterno fix listed
Show all 17 entries from 11 sources
SourcePackageFixed in
go::GitHub Security Advisory Gogithub.com/hashicorp/go-getter1.6.1, 2.1.0
go::GitHub Security Advisory Gogithub.com/hashicorp/go-getter/gcs/v22.1.0
go::GitHub Security Advisory Gogithub.com/hashicorp/go-getter/s3/v22.1.0
go::GitHub Security Advisory Gogithub.com/hashicorp/go-getter/v22.1.0
debian 10golang-github-hashicorp-go-getterno fix listed
debian 11golang-github-hashicorp-go-getterno fix listed
debian 12golang-github-hashicorp-go-getterno fix listed
echogolang-github-hashicorp-go-getterno fix listed
rapidfort debian 12golang-github-hashicorp-go-getterno fix listed
rapidfort debian 13golang-github-hashicorp-go-getterno fix listed
ubuntu 18.04-ESMgolang-github-hashicorp-go-getterno fix listed
ubuntu 20.04-ESMgolang-github-hashicorp-go-getterno fix listed
ubuntu 20.04-ESMgolang-github-jesseduffield-go-getterno fix listed
ubuntu 22.04golang-github-hashicorp-go-getterno fix listed
ubuntu 22.04golang-github-jesseduffield-go-getterno fix listed
ubuntu 24.04golang-github-hashicorp-go-getterno fix listed
ubuntu 24.04golang-github-jesseduffield-go-getterno fix listed

References

All 12 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.