CVE-2022-40186: HashiCorp Vault · Insecure Direct Object Reference
Source CVE Database V5
Not known to be exploited · CVSS 9.1 Critical · fixed in 1.11.3 : patch affected systems as a priority.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 1.0% chance of exploitation in 30 days – higher than 62% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.11.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Sep 2022
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| n/a n/a | Affected
| Fixed in
|
AI-suggested
Organizations should prioritize upgrading HashiCorp Vault and Vault Enterprise to version 1.11.3 or later, where this vulnerability has been addressed. Until patching is possible, administrators should audit their Vault deployments for entities with multiple mount accessors sharing alias names and consider restructuring these to avoid alias name collisions. Implement strict access controls and monitoring on Vault audit logs to detect unusual access patterns or metadata changes. Employ network segmentation and firewall rules to restrict access to Vault instances to trusted hosts and networks only. Additionally, review and tighten identity and alias management policies to minimize complexity and reduce the risk of alias misassignment. Regularly validate the integrity of metadata associated with entities and aliases. Finally, incorporate Vault security into incident response plans to quickly respond to any suspected exploitation attempts.
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.