CVE-2024-7594: Vault SSH Secrets Engine Configuration Did Not Restrict Valid Principals By Default

Published Sep 26, 2024
·
Updated

Vault’s SSH secrets engine did not require the validprincipals list to contain a value by default. If the validprincipals and defaultuser fields of the SSH secrets engine configuration are not set, an SSH certificate requested by an authorized user to Vault’s SSH secrets engine could be used to authenticate as any user on the host. Fixed in Vault Community Edition 1.17.6, and in Vault Enterprise 1.17.6, 1.16.10, and 1.15.15.

Affected Software

6 affected componentsFixes available
go/github.com/hashicorp/vault>=1.7.7<1.17.6
1.17.6
HashiCorp Vault>=1.7.7<1.15.15
HashiCorp Vault>=1.7.7<1.17.6
HashiCorp Vault>=1.16.0<1.16.10
HashiCorp Vault>=1.17.0<1.17.6
OpenBao OpenBao<2.0.2

Event History

Sep 26, 2024
CVE Published
via MITRE·07:52 PM
Data Sourced
via MITRE·07:52 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
Affected Software
Advisory Published
via GitHub·09:31 PM
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 severity of CVE-2024-7594?

CVE-2024-7594 has been categorized as a high severity vulnerability due to insufficient restrictions on valid principals in the SSH secrets engine.

2

How do I fix CVE-2024-7594?

To fix CVE-2024-7594, ensure that the valid_principals and default_user fields are properly set in the SSH secrets engine configuration.

3

What versions are affected by CVE-2024-7594?

CVE-2024-7594 affects versions of Vault SSH secrets engine from 1.7.7 to 1.17.6, not including 1.17.6.

4

What does CVE-2024-7594 affect?

CVE-2024-7594 affects the SSH secrets engine in HashiCorp Vault, specifically its configuration for valid principals.

5

Who is at risk for CVE-2024-7594?

Users running affected versions of HashiCorp Vault without proper SSH secrets engine configuration are at risk of unauthorized access.

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