CVE-2022-40186: An issue was discovered in HashiCorp Vault and Vault Enterprise before 1.11.3.
CVE-2022-40186 affects 31 listed versions of HashiCorp Vault in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
HashiCorp Vault
31 of 250 listed versions are affected. Fixed in 1.11.3, 1.10.6, 1.9.9. The newest release, 2.2.2, is not affected.
1.11.2 1.11.1 1.11.0 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10.0 1.9.8 1.9.7 1.9.6 1.9.5 1.9.4 1.9.3 1.9.2 1.9.1 1.9.0 1.8.12 1.8.11 1.8.10 1.8.9 1.8.8 1.8.7 1.8.6 1.8.5 1.8.4 1.8.3 1.8.2 1.8.1 1.8.0
What it is
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N (NVD)
Published by MITRE on 22 September 2022. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2022-40186 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.