ADVISORIES

Vulnerability

CVE-2022-40186

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.

2 advisories report this vulnerability, across 1 ecosystem.

Critical severity Go 2

Advisories

  • GHSA-7cgv-v83v-rr87

    HashiCorp Vault vulnerable to incorrect metadata access

    Critical CVE-2022-40186 Go Updated 28 May 2025
  • GO-2022-1021

    HashiCorp Vault vulnerable to incorrect metadata access in github.com/hashicorp/vault

    CVE-2022-40186 Go Updated 3 March 2026

References