CVE-2022-26945: Command Injection

Published May 24, 2022
·
Updated

A flaw was found in go-getter. This flaw allows an attacker to misuse go-getter to execute commands on the host. This action may be possible when symlink processing and path traversal are allowed.

Other sources

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.

HashiCorp go-getter before 2.0.2 allows Command Injection.

Reference: https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930

Red Hat

Affected Software

4 affected componentsFixes available
redhat/github.com/hashicorp/go-getter<1.6.1
1.6.1
redhat/github.com/hashicorp/go-getter<2.1.0
2.1.0
HashiCorp go-getter<=1.5.11
HashiCorp go-getter=2.0.2

Remediation

Information

The fix includes new configuration options to help limit the security exposure and have more secure defaults.

Event History

May 24, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
May 25, 2022
CVE Published
via MITRE·11:19 AM
Data Sourced
via MITRE·11:19 AM
Description
Jun 2, 2022
Data Sourced
via Red Hat·02:35 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for go-getter?

The vulnerability ID for go-getter is CVE-2022-26945.

2

What is the severity level of CVE-2022-26945?

The severity level of CVE-2022-26945 is critical with a CVSS score of 9.8.

3

What is affected by CVE-2022-26945?

HashiCorp go-getter versions up to 1.5.11 and 2.0.2 are affected by CVE-2022-26945.

4

How can an attacker exploit CVE-2022-26945?

An attacker can exploit CVE-2022-26945 by misusing go-getter to execute commands on the host.

5

How can I fix CVE-2022-26945?

To fix CVE-2022-26945, update HashiCorp go-getter to version 1.6.1 or 2.1.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203