What’s Vulnerable › Vulnerabilities
CVE-2022-40186
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-09-22 · updated 2026-06-17
- Weakness: CWE-639
Description
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 products
- HashiCorp Vault: from 1.8.0 before 1.9.9; from 1.10.0 before 1.10.6; from 1.11.0 before 1.11.3 — fixed in 1.10.6, 1.11.3, 1.9.9
How to fix
Upgrade to a fixed version: HashiCorp Vault 1.10.6, 1.11.3, 1.9.9. Check the vendor advisory for mitigations.
References
- https://discuss.hashicorp.com
- 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
- https://security.netapp.com/advisory/ntap-20221111-0008/
- https://discuss.hashicorp.com
- 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
- https://security.netapp.com/advisory/ntap-20221111-0008/
Get alerted when CVE-2022-40186 or the next vulnerability affects your stack