{"id":"CVE-2021-43998","aliases":["BIT-vault-2021-43998","GHSA-pfmw-vj74-ph8g","GO-2022-0611"],"url":"https://o3.security/vulnerability/CVE-2021-43998","summary":"HashiCorp Vault Incorrect Permission Assignment for Critical Resource","details":"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.","published":"2021-11-30T15:15:07.360Z","modified":"2026-07-08T23:58:17.533367Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"},"epss":{"score":0.01008,"percentile":0.5994,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","fixedVersion":"1.7.6"},{"ecosystem":"Go","name":"github.com/hashicorp/vault","fixedVersion":"1.8.5"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://discuss.hashicorp.com/t/hcsec-2021-30-vaults-templated-acl-policies-matched-first-created-alias-per-entity-and-auth-backend/32132"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202207-01"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T23:58:17.533367Z"}}