# CVE-2021-41802: Hashicorp Vault Privilege Escalation Vulnerability

- Severity: Low 2.9 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:L/AV:A/A:N/C:L/I:N/PR:H/S:C/UI:R`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-02)
- Published: 2021-10-08T17:00:01.000Z
- Modified: 2026-09-10T03:49:09.473Z
- Also known as: GHSA-qv95-g3gm-x542, BIT-VAULT-2021-41802, GO-2022-0618
- Related: CGA-hww4-6m2q-fm5r
- Weaknesses: CWE-269, CWE-732
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/hashicorp/vault (Go): before 1.7.5; from 1.8.0 before 1.8.4
- hashicorp vault: before 1.7.5; from 1.8.0 before 1.8.4
- vault (Bitnami): before 1.7.5; from 1.8.0 before 1.8.4

## Every score

- mitre: CVSS:3.1 2.9 Low `CVSS:3.1/AC:L/AV:A/A:N/C:L/I:N/PR:H/S:C/UI:R`
- GitHub: CVSS:3.1 2.9 Low `CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:2.0 5.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://discuss.hashicorp.com/t/hcsec-2021-27-vault-merging-multiple-entity-aliases-for-the-same-mount-may-allow-privilege-escalation/> (advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202207-01> (advisory, third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41802> (advisory, web)
- <https://discuss.hashicorp.com/t/hcsec-2021-27-vault-merging-multiple-entity-aliases-for-the-same-mount-may-allow-privilege-escalation> (web)
- <https://github.com/hashicorp/vault> (package)
- <https://github.com/advisories/GHSA-qv95-g3gm-x542> (advisory)

## Sources

- CVE List: [CVE-2021-41802](https://www.cve.org/CVERecord?id=CVE-2021-41802), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-qv95-g3gm-x542](https://github.com/advisories/GHSA-qv95-g3gm-x542), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2022-0618](https://pkg.go.dev/vuln/GO-2022-0618), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2021-41802](https://nvd.nist.gov/vuln/detail/CVE-2021-41802), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-VAULT-2021-41802](https://osv.dev/vulnerability/BIT-VAULT-2021-41802), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-41802 · Whole record: https://cve.day/CVE-2021-41802.json · Rebuilt by cve.day 2026-11-25T22:58:04.389Z
