Vulnerabilities · 2022 · Hashicorp
CVE-2022-40186
Hashicorp Vault vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Vault. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Hashicorp Vault runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- discuss.hashicorp.com · Vendor Advisory
- discuss.hashicorp.com/t/hcsec-2022-18-vault-entity-alias-metadata-may-leak-between-aliases · Vendor Advisory
- security.netapp.com/advisory/ntap-20221111-0008/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-40186
- security.netapp.com/advisory/ntap-20221111-0008
- github.com/advisories/GHSA-7cgv-v83v-rr87
- nvd.nist.gov/vuln/detail/CVE-2022-40186
- cve.org/CVERecord?id=CVE-2022-40186
More vulnerabilities in Hashicorp products
CVE-2025-13432CVE-2025-13357CVE-2025-12044CVE-2025-11621CVE-2025-11375CVE-2025-11374CVE-2025-8959CVE-2025-6203All 187
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.