# CVE-2021-43998: HashiCorp Vault Incorrect Permission Assignment for Critical Resource

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- 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): 1.04%, higher than 64% of CVEs (2026-12-01)
- Published: 2021-11-30T14:59:08.000Z
- Modified: 2026-09-08T08:48:21.154Z
- Also known as: GHSA-pfmw-vj74-ph8g, BIT-VAULT-2021-43998, GO-2022-0611
- Weaknesses: CWE-732
- Assigned by: mitre

## Description

HashiCorp Vault and Vault Enterprise 0.11.0 up to 1.7.5 and 1.8.4 templated ACL policies would always match the first-created entity alias if multiple entity aliases exist for a specified entity and mount combination, potentially resulting in incorrect policy enforcement. Fixed in Vault and Vault Enterprise 1.7.6, 1.8.5, and 1.9.0.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/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-30-vaults-templated-acl-policies-matched-first-created-alias-per-entity-and-auth-backend/32132> (advisory, vendor-advisory, web)
- <https://security.gentoo.org/glsa/202207-01> (advisory, third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-43998> (advisory, web)
- <https://github.com/hashicorp/vault> (package)
- <https://github.com/advisories/GHSA-pfmw-vj74-ph8g> (advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-43998 · Whole record: https://cve.day/CVE-2021-43998.json · Rebuilt by cve.day 2026-11-25T22:24:36.120Z
