Skip to content
OpenAdvisories
Critical · 9.1 CVE-2022-40186 BIT-vault-2022-40186EUVD-2022-6730GHSA-7cgv-v83v-rr87GO-2022-1021

HashiCorp Vault vulnerable to incorrect metadata access

Published Sep 22, 2022 · Updated May 27, 2025 · Assigned by mitre

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 packages

EcosystemPackageAffectedFixedRecord
Go github.com/hashicorp/vault >= 1.11.0, < 1.11.3 1.11.3 GHSA-7cgv-v83v-rr87
Go github.com/hashicorp/vault >= 1.10.0, < 1.10.6 1.10.6 GHSA-7cgv-v83v-rr87
Go github.com/hashicorp/vault >= 1.8.0, < 1.9.9 1.9.9 GHSA-7cgv-v83v-rr87
Go github.com/hashicorp/vault >= 1.8.0, < 1.9.9 · >= 1.10.0, < 1.10.6 · >= 1.11.0, < 1.11.3 1.9.9, 1.10.6, 1.11.3 GO-2022-1021

Advisories 1

References