{"id":"CVE-2021-43998","aliases":["BIT-vault-2021-43998","EUVD-2021-2560","GHSA-pfmw-vj74-ph8g","GO-2022-0611"],"status":"published","title":"HashiCorp Vault Incorrect Permission Assignment for Critical Resource","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.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.01041,"percentile":0.64497,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-732"],"published":"2021-11-30T14:59:08Z","modified":"2026-10-24T10:30:53Z","fixes":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","fixed_in":["1.8.5","1.7.6"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"vault","fixed_in":["1.7.6","1.8.5"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.0"},{"fixed":"1.8.5"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.11.0"},{"fixed":"1.7.6"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0.11.0"},{"fixed":"1.7.6"},{"introduced":"1.8.4"},{"fixed":"1.8.5"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0.11.0"},{"fixed":"1.7.6"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.8.0"},{"fixed":"1.8.5"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0.11.0"},{"fixed":"1.7.6"},{"introduced":"1.8.0"},{"fixed":"1.8.5"}]}]}],"products":[{"vendor":"hashicorp","product":"vault"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2021-30-vaults-templated-acl-policies-matched-first-created-alias-per-entity-and-auth-backend/32132","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://security.gentoo.org/glsa/202207-01","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43998","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-pfmw-vj74-ph8g","tags":["advisory"]},{"url":"https://github.com/hashicorp/vault","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-43998","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.","status":"published","published":"2021-11-30T14:59:08Z","modified":"2024-08-04T04:10:17.167Z","updated_at":"2026-11-02T14:32:57.033395Z"}],"euvd":[{"id":"EUVD-2021-2560","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.","status":"published","published":"2021-11-30T14:59:08Z","modified":"2024-08-04T04:10:17Z","updated_at":"2026-11-03T03:24:12.599691Z"}],"ghsa":[{"id":"GHSA-pfmw-vj74-ph8g","title":"HashiCorp Vault Incorrect Permission Assignment for Critical Resource","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.","status":"published","published":"2021-12-02T17:48:30Z","modified":"2023-01-27T05:04:57Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"cwes":["CWE-732"],"updated_at":"2026-11-02T14:36:20.985872Z"}],"nvd":[{"id":"CVE-2021-43998","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.","status":"published","published":"2021-11-30T15:15:07.36Z","modified":"2026-06-17T04:11:45.877Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":5.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-732"],"updated_at":"2026-11-02T14:07:01.811115Z"}],"osv":[{"id":"CVE-2021-43998","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.","status":"published","published":"2021-11-30T15:15:07.36Z","modified":"2026-10-24T10:30:53.956164583Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:21.877444Z"},{"id":"GHSA-pfmw-vj74-ph8g","title":"HashiCorp Vault Incorrect Permission Assignment for Critical Resource","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.","status":"published","published":"2021-12-02T17:48:30Z","modified":"2024-08-21T15:41:42.790099Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"cwes":["CWE-732"],"updated_at":"2026-11-02T15:46:53.244788Z"},{"id":"BIT-vault-2021-43998","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.","status":"published","published":"2024-03-06T11:10:23.204Z","modified":"2026-09-08T08:48:21.154570623Z","updated_at":"2026-11-02T15:28:36.104787Z"},{"id":"GO-2022-0611","title":"HashiCorp Vault Incorrect Permission Assignment for Critical Resource in github.com/hashicorp/vault","description":"HashiCorp Vault Incorrect Permission Assignment for Critical Resource in github.com/hashicorp/vault","status":"published","published":"2024-08-21T15:11:40Z","modified":"2026-03-03T04:50:44.836607Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
