What’s Vulnerable › Vulnerabilities
CVE-2021-41802
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-10-08 · updated 2026-06-17
- Weakness: CWE-732
Description
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.
Affected products
- HashiCorp Vault: before 1.7.5; from 1.8.0 before 1.8.4 — fixed in 1.7.5, 1.8.4
How to fix
Upgrade to a fixed version: HashiCorp Vault 1.7.5, 1.8.4. Check the vendor advisory for mitigations.
References
- https://discuss.hashicorp.com/t/hcsec-2021-27-vault-merging-multiple-entity-aliases-for-the-same-mount-may-allow-privilege-escalation/
- https://security.gentoo.org/glsa/202207-01
- https://discuss.hashicorp.com/t/hcsec-2021-27-vault-merging-multiple-entity-aliases-for-the-same-mount-may-allow-privilege-escalation/
- https://security.gentoo.org/glsa/202207-01
Get alerted when CVE-2021-41802 or the next vulnerability affects your stack