Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.1

CVE-2022-40186: HashiCorp Vault May Overwrite Metadata, Exposing Sensitive Data

CVE-2022-40186 · published 4 years ago
Summary

A vulnerability in HashiCorp Vault and Vault Enterprise versions before 1.11.3 can cause sensitive data to be exposed. This is because Vault may accidentally overwrite metadata to the wrong location, potentially allowing unauthorized access to certain key-value paths. To fix this, update to version 1.11.3 or later.

What to do
  • Update github.com hashicorp to version 1.11.3.
  • Update github.com hashicorp to version 1.10.6.
  • Update github.com hashicorp to version 1.9.9.
Affected software
Ecosystem VendorProductAffected versions
go github.com hashicorp >= 1.11.0, < 1.11.3
>= 1.10.0, < 1.10.6
>= 1.8.0, < 1.9.9
Fix: upgrade to 1.11.3
– hashicorp vault >= 1.8.0, < 1.9.9
>= 1.10.0, < 1.10.6
>= 1.11.0, < 1.11.3
cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*
Original advisory 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 w...
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.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker full control
Severity
9.1 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-639Authorization Bypass Through User-Controlled Key
Timeline
Published22 Sep 2022
Updated31 Oct 2026
First seen6 Mar 2026
Sources
Track software like this
Free during beta