Live threats

All CVEs / Hashicorp

CVE-2022-40186Hashicorp Vault

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
1.0%
probability of exploitation in 30 days · percentile 62
Auth required
No
Published
Sep 22, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-639
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Vault.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/hashicorp/vault ≥ 1.11.0 < 1.11.3 1.11.3 go get github.com/hashicorp/vault@v1.11.3
Go github.com/hashicorp/vault ≥ 1.10.0 < 1.10.6 1.10.6 go get github.com/hashicorp/vault@v1.10.6
Go github.com/hashicorp/vault ≥ 1.8.0 < 1.9.9 1.9.9 go get github.com/hashicorp/vault@v1.9.9
Go github.com/hashicorp/vault ≥ 1.8.0 < 1.9.9 1.9.9 go get github.com/hashicorp/vault@v1.9.9
Go github.com/hashicorp/vault ≥ 1.10.0 < 1.10.6 1.10.6 go get github.com/hashicorp/vault@v1.10.6
Go github.com/hashicorp/vault ≥ 1.11.0 < 1.11.3 1.11.3 go get github.com/hashicorp/vault@v1.11.3

Per OSV / GitHub Advisories (GHSA-7cgv-v83v-rr87, GO-2022-1021). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
hashicorpvault≥ 1.8.0 < 1.9.9
hashicorpvault≥ 1.8.0 < 1.9.9
hashicorpvault≥ 1.10.0 < 1.10.6
hashicorpvault≥ 1.10.0 < 1.10.6
hashicorpvault≥ 1.11.0 < 1.11.3
hashicorpvault≥ 1.11.0 < 1.11.3

Official sources

References

Links published by the sources. Open them with care.