{"cve":"CVE-2022-40186","nvd":{"published":"2022-09-22T01:15:12.027","modified":"2026-06-17T05:01:04.160","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-639"],"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"],"products":["hashicorp:vault"],"source":"nvd","synced_at":"2026-10-19T21:36:05.460296998+00:00"},"epss":{"cve":"CVE-2022-40186","score":0.01002,"percentile":0.62907,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7cgv-v83v-rr87","url":"https://osv.dev/vulnerability/GHSA-7cgv-v83v-rr87","summary":"HashiCorp Vault vulnerable to incorrect metadata access","modified":"2025-05-28T19:39:57Z","packages":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[">=1.11.0 <1.11.3"],"fixed":["1.11.3"]},{"ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[">=1.10.0 <1.10.6"],"fixed":["1.10.6"]},{"ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[">=1.8.0 <1.9.9"],"fixed":["1.9.9"]}]},{"id":"GO-2022-1021","url":"https://osv.dev/vulnerability/GO-2022-1021","summary":"HashiCorp Vault vulnerable to incorrect metadata access in github.com/hashicorp/vault","modified":"2026-03-03T04:52:36.124146Z","packages":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[">=1.8.0 <1.9.9",">=1.10.0 <1.10.6",">=1.11.0 <1.11.3"],"fixed":["1.9.9","1.10.6","1.11.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}