{"id":"CVE-2022-40186","published":"2022-09-22T00:00:00Z","modified":"2025-05-27T18:11:29Z","title":"An issue was discovered in HashiCorp Vault and Vault Enterprise before 1.11.3","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0107,"percentile":0.65658,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://discuss.hashicorp.com","tags":[]},{"url":"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","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20221111-0008/","tags":[]}],"priority":{"score":19.5,"factors":[{"name":"EPSS percentile","points":13.13},{"name":"CVSS severity","points":6.37}]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-05-27T18:10:45.868520Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","vulnerableRanges":[">=1.11.0, <1.11.3",">=1.10.0, <1.10.6",">=1.8.0, <1.9.9"],"patched":["1.11.3","1.10.6","1.9.9"],"from":["GHSA-7cgv-v83v-rr87","GO-2022-1021"],"provenance":"source"}],"summary":{"text":"A flaw in the Identity Engine of HashiCorp Vault and Vault Enterprise, before version 1.11.3, can cause Vault to overwrite entity metadata to the wrong alias when an entity has multiple mount accessors with shared alias names. An attacker can exploit this over the network with low complexity and no privileges or user interaction, gaining unintended access to key/value paths that rely on that metadata, in a deployment where an entity has multiple mount accessors with shared alias names.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:42Z"},"euvd":{"id":"EUVD-2022-6730","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-42135","published":"2021-10-11","fixed":"1.8.5","kev":false},{"cve":"CVE-2021-43998","published":"2021-11-30","fixed":"1.8.5","kev":false,"link":{"from":"CVE-2021-43998","to":"CVE-2022-40186","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/vault","fromFixed":"1.8.5","toFixed":"1.9.9","daysApart":296}]}},{"cve":"CVE-2022-30689","published":"2022-05-17","fixed":"1.10.3","kev":false,"link":{"from":"CVE-2022-30689","to":"CVE-2022-40186","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/vault","fromFixed":"1.10.3","toFixed":"1.10.6","daysApart":128}]}},{"cve":"CVE-2022-40186","published":"2022-09-22","fixed":"1.11.3","kev":false},{"cve":"CVE-2022-41316","published":"2022-10-12","fixed":"1.11.4","kev":false,"link":{"from":"CVE-2022-40186","to":"CVE-2022-41316","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/vault","fromFixed":"1.11.3","toFixed":"1.11.4","daysApart":20}]}},{"cve":"CVE-2023-24999","published":"2023-03-10","fixed":"1.12.4","kev":false},{"cve":"CVE-2023-5077","published":"2023-09-28","fixed":"1.13.0","kev":false}],"package":"Go:github.com/hashicorp/vault"}}