Live threats

All CVEs / Hashicorp

CVE-2021-41802Hashicorp Vault

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
0.6%
probability of exploitation in 30 days · percentile 43
Auth required
Yes
Published
Oct 8, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-732
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

What happens

HashiCorp Vault and Vault Enterprise through 1.7.4 and 1.8.3 allowed a user with write permission to an entity alias ID sharing a mount accessor with another user to acquire this other user’s policies by merging their identities. Fixed in Vault and Vault Enterprise 1.7.5 and 1.8.4.

Original NVD text.

What to do

  1. Apply the vendor's security update for Vault.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/hashicorp/vault < 1.7.5 1.7.5 go get github.com/hashicorp/vault@v1.7.5
Go github.com/hashicorp/vault ≥ 1.8.0 < 1.8.4 1.8.4 go get github.com/hashicorp/vault@v1.8.4
Go github.com/hashicorp/vault < 1.7.5 1.7.5 go get github.com/hashicorp/vault@v1.7.5
Go github.com/hashicorp/vault ≥ 1.8.0 < 1.8.4 1.8.4 go get github.com/hashicorp/vault@v1.8.4

Per OSV / GitHub Advisories (GHSA-qv95-g3gm-x542, GO-2022-0618). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
hashicorpvault< 1.7.5
hashicorpvault< 1.7.5
hashicorpvault≥ 1.8.0 < 1.8.4
hashicorpvault≥ 1.8.0 < 1.8.4

Official sources

References

Links published by the sources. Open them with care.