CVE-2022-40186: Critical severity HashiCorp Vault vulnerability

Published Sep 22, 2022
·
Updated

An issue was discovered in HashiCorp Vault and Vault Enterprise before 1.11.3. A vulnerability in the Identity Engine was found where, in a deployment where an entity has multiple mount accessors with shared alias names, Vault may overwrite metadata to the wrong alias due to an issue with checking the proper alias assigned to an entity. This may allow for unintended access to key/value paths using that metadata in Vault.

Affected Software

9 affected componentsFixes available
HashiCorp Vault>=1.8.0<1.9.9
HashiCorp Vault>=1.8.0<1.9.9
HashiCorp Vault>=1.10.0<1.10.6
HashiCorp Vault>=1.10.0<1.10.6
HashiCorp Vault>=1.11.0<1.11.3
HashiCorp Vault>=1.11.0<1.11.3
go/github.com/hashicorp/vault>=1.8.0<1.9.9
1.9.9
go/github.com/hashicorp/vault>=1.10.0<1.10.6
1.10.6
go/github.com/hashicorp/vault>=1.11.0<1.11.3
1.11.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/hashicorp/vault to a version that resolves this vulnerability.

    Fixed in 1.9.9
  2. Upgrade

    Upgrade go/github.com/hashicorp/vault to a version that resolves this vulnerability.

    Fixed in 1.10.6
  3. Upgrade

    Upgrade go/github.com/hashicorp/vault to a version that resolves this vulnerability.

    Fixed in 1.11.3

Event History

Sep 22, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·01:15 AM
DescriptionSeverityWeaknessAffected Software
Sep 23, 2022
Advisory Published
via GitHub·12:00 AM

Frequently Asked Questions

1

What is CVE-2022-40186?

CVE-2022-40186 is a vulnerability in HashiCorp Vault and Vault Enterprise before 1.11.3 that allows metadata to be overwritten to the wrong alias.

2

How severe is CVE-2022-40186?

CVE-2022-40186 has a severity score of 9.1 out of 10.

3

What software versions are affected by CVE-2022-40186?

Versions of HashiCorp Vault and Vault Enterprise between 1.8.0 and 1.9.9, between 1.10.0 and 1.10.6, and between 1.11.0 and 1.11.3 are affected by CVE-2022-40186.

4

How can I fix CVE-2022-40186?

To fix CVE-2022-40186, update HashiCorp Vault and Vault Enterprise to version 1.11.3 or later.

5

Where can I find more information about CVE-2022-40186?

You can find more information about CVE-2022-40186 at the following references: [1](https://discuss.hashicorp.com), [2](https://discuss.hashicorp.com/t/hcsec-2022-18-vault-entity-alias-metadata-may-leak-between-aliases-with-the-same-name-assigned-to-the-same-entity/44550), [3](https://security.netapp.com/advisory/ntap-20221111-0008/).

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