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 | Vendor | Product | Affected 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.
References
- https://discuss.hashicorp.com URL
- https://security.netapp.com/advisory/ntap-20221111-0008
- https://nvd.nist.gov/vuln/detail/CVE-2022-40186 Vendor Advisory
- https://github.com/advisories/GHSA-7cgv-v83v-rr87
- https://discuss.hashicorp.com/t/hcsec-2022-18-vault-entity-alias-metadata-may-le... URL
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40186... Vendor Advisory
- https://security.netapp.com/advisory/ntap-20221111-0008/ Vendor Advisory
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker full control
Type
CWE-639Authorization Bypass Through User-Controlled Key
Timeline
Published22 Sep 2022
Updated31 Oct 2026
First seen6 Mar 2026
Track software like this
Free during beta