Security mailing lists by PureSourceCode

CVE-2022-40186

CRITICAL 9.1CVSS 3.1

HashiCorp Vault vulnerable to incorrect metadata access

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.

Published
22 Sep 2022
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-639
Also known as
BIT-vault-2022-40186GHSA-7cgv-v83v-rr87GO-2022-1021
Sources
NVDJSONOSV GHSA-7cgv-v83v-rr87JSONOSV GO-2022-1021JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*
>= 1.8.0, < 1.9.9 1.9.9
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
>= 1.8.0, < 1.9.9 1.9.9
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*
>= 1.10.0, < 1.10.6 1.10.6
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
>= 1.10.0, < 1.10.6 1.10.6
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*
>= 1.11.0, < 1.11.3 1.11.3
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
>= 1.11.0, < 1.11.3 1.11.3
OSV Go github.com/hashicorp/vault >= 1.11.0, < 1.11.3 1.11.3
OSV Go github.com/hashicorp/vault >= 1.10.0, < 1.10.6 1.10.6
OSV Go github.com/hashicorp/vault >= 1.8.0, < 1.9.9 1.9.9
OSV Go github.com/hashicorp/vault >= 1.8.0, < 1.9.9; >= 1.10.0, < 1.10.6; >= 1.11.0, < 1.11.3 1.9.9, 1.10.6, 1.11.3

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 22 Sep 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Sep 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.