CVE-2022-40186Hashicorp Vault
Critical 9.1 No auth needed
Follow: this CVE · Hashicorp · Hashicorp Vault We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Vault.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| hashicorp | vault | ≥ 1.8.0 < 1.9.9 |
| hashicorp | vault | ≥ 1.8.0 < 1.9.9 |
| hashicorp | vault | ≥ 1.10.0 < 1.10.6 |
| hashicorp | vault | ≥ 1.10.0 < 1.10.6 |
| hashicorp | vault | ≥ 1.11.0 < 1.11.3 |
| hashicorp | vault | ≥ 1.11.0 < 1.11.3 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.hashicorp.com Vendor Advisory
- discuss.hashicorp.com Vendor Advisory
- security.netapp.com Third Party Advisory