{"id":"CVE-2021-41802","aliases":["BIT-vault-2021-41802","GHSA-qv95-g3gm-x542","GO-2022-0618"],"summary":"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 polic...","published_at":"2021-10-08T00:00:00Z","modified_at":"2026-09-10T03:49:09.473784Z","products":[{"slug":"vault","name":"HashiCorp Vault","category":"secrets"}],"rating":{"severity":"medium","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.006089999806135893,"percentile":0.4995500147342682,"date":"2026-11-19T00:00:00Z"},"priority":6.4,"details":"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_stack":[{"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.7.5"},{"introduced":"1.8.0"},{"fixed":"1.8.4"}]}],"fixed":["1.7.5","1.8.4"],"provider":"osv","source":"BIT-vault-2021-41802","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.7.5"}]}],"fixed":["1.7.5"],"provider":"osv","source":"GHSA-qv95-g3gm-x542","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.8.0"},{"fixed":"1.8.4"}]}],"fixed":["1.8.4"],"provider":"osv","source":"GHSA-qv95-g3gm-x542","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.7.5"},{"introduced":"1.8.0"},{"fixed":"1.8.4"}]}],"fixed":["1.7.5","1.8.4"],"provider":"osv","source":"GO-2022-0618","relation":"self"},{"ecosystem":"NVD","package":"hashicorp:vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.8.0"},{"fixed":"1.8.4"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.8.0"},{"fixed":"1.8.4"}]}],"fixed":["1.7.5","1.7.5","1.8.4","1.8.4"],"provider":"nvd","source":"CVE-2021-41802","relation":"self"}],"affected_other":[],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"not_affected","packages":["openshift-logging/logging-loki-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-41802"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-installer","openshift4/topology-aware-lifecycle-manager-rhel8-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-41802"},{"vendor":"Red Hat","product":"Red Hat Openshift Container Storage 4","cpe":"cpe:/a:redhat:openshift_container_storage:4","status":"not_affected","packages":["ocs4/cephcsi-rhel8","ocs4/mcg-rhel8-operator","ocs4/ocs-rhel8-operator","ocs4/rook-ceph-rhel8-operator"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-41802"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"not_affected","packages":["odf4/cephcsi-rhel9","odf4/mcg-rhel9-operator","odf4/ocs-rhel9-operator","odf4/odf-multicluster-rhel9-operator","odf4/odf-rhel8-operator","odf4/odr-rhel8-operator","odf4/rook-ceph-rhel8-operator","vault"],"package_count":8,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-41802"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2021-41802","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-41802","license":"CC-BY-4.0","published_at":"2021-10-08T17:00:01Z","modified_at":"2024-08-04T03:22:24.278Z","summary":"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 polic...","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AC:L/AV:A/A:N/C:L/I:N/PR:H/S:C/UI:R","source":"CVE-2021-41802"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2021-27-vault-merging-multiple-entity-aliases-for-the-same-mount-may-allow-privilege-escalation/"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202207-01"}]},{"provider":"nvd","source_id":"CVE-2021-41802","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41802","severity":[],"affected":[{"ecosystem":"NVD","package":"hashicorp:vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.8.0"},{"fixed":"1.8.4"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.8.0"},{"fixed":"1.8.4"}]}],"fixed":["1.7.5","1.7.5","1.8.4","1.8.4"],"provider":"nvd","source":"CVE-2021-41802","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-vault-2021-41802","relation":"self","url":"https://osv.dev/vulnerability/BIT-vault-2021-41802","license":"Apache-2.0","published_at":"2024-03-06T11:10:33.488Z","modified_at":"2026-09-08T08:48:21.286229Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","source":"BIT-vault-2021-41802"}],"affected":[{"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.7.5"},{"introduced":"1.8.0"},{"fixed":"1.8.4"}]}],"fixed":["1.7.5","1.8.4"],"provider":"osv","source":"BIT-vault-2021-41802","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://discuss.hashicorp.com/t/hcsec-2021-27-vault-merging-multiple-entity-aliases-for-the-same-mount-may-allow-privilege-escalation/"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202207-01"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41802"}]},{"provider":"osv","source_id":"GHSA-qv95-g3gm-x542","relation":"self","url":"https://osv.dev/vulnerability/GHSA-qv95-g3gm-x542","license":"CC-BY-4.0","published_at":"2021-10-12T16:39:01Z","modified_at":"2026-09-10T03:49:09.473784Z","summary":"Hashicorp Vault Privilege Escalation Vulnerability","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N","source":"GHSA-qv95-g3gm-x542"}],"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.7.5"}]}],"fixed":["1.7.5"],"provider":"osv","source":"GHSA-qv95-g3gm-x542","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.8.0"},{"fixed":"1.8.4"}]}],"fixed":["1.8.4"],"provider":"osv","source":"GHSA-qv95-g3gm-x542","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41802"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2021-27-vault-merging-multiple-entity-aliases-for-the-same-mount-may-allow-privilege-escalation"},{"type":"PACKAGE","url":"https://github.com/hashicorp/vault"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202207-01"}]},{"provider":"osv","source_id":"GO-2022-0618","relation":"self","url":"https://osv.dev/vulnerability/GO-2022-0618","license":"CC-BY-4.0","published_at":"2024-08-21T15:11:40Z","modified_at":"2026-02-04T03:05:42.149111Z","summary":"Hashicorp Vault Privilege Escalation Vulnerability in github.com/hashicorp/vault","details":"Hashicorp Vault Privilege Escalation Vulnerability in github.com/hashicorp/vault","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.7.5"},{"introduced":"1.8.0"},{"fixed":"1.8.4"}]}],"fixed":["1.7.5","1.8.4"],"provider":"osv","source":"GO-2022-0618","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qv95-g3gm-x542"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41802"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2021-27-vault-merging-multiple-entity-aliases-for-the-same-mount-may-allow-privilege-escalation"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202207-01"}]},{"provider":"redhat-vex","source_id":"CVE-2021-41802","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2021-41802","license":"CC-BY-4.0","published_at":"2021-10-08T00:00:00Z","modified_at":"2023-08-03T08:29:08Z","summary":"vault: Incorrect Permission Assignment for Critical Resource","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","source":"CVE-2021-41802"},{"type":"Red Hat","score":"Moderate","source":"CVE-2021-41802"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"not_affected","packages":["openshift-logging/logging-loki-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-41802"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-installer","openshift4/topology-aware-lifecycle-manager-rhel8-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-41802"},{"vendor":"Red Hat","product":"Red Hat Openshift Container Storage 4","cpe":"cpe:/a:redhat:openshift_container_storage:4","status":"not_affected","packages":["ocs4/cephcsi-rhel8","ocs4/mcg-rhel8-operator","ocs4/ocs-rhel8-operator","ocs4/rook-ceph-rhel8-operator"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-41802"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"not_affected","packages":["odf4/cephcsi-rhel9","odf4/mcg-rhel9-operator","odf4/ocs-rhel9-operator","odf4/odf-multicluster-rhel9-operator","odf4/odf-rhel8-operator","odf4/odr-rhel8-operator","odf4/rook-ceph-rhel8-operator","vault"],"package_count":8,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-41802"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-41802.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-41802"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2015915"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-41802"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41802"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2021-27-vault-merging-multiple-entity-aliases-for-the-same-mount-may-allow-privilege-escalation/"}]}],"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2021-27-vault-merging-multiple-entity-aliases-for-the-same-mount-may-allow-privilege-escalation/"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202207-01"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41802"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2021-27-vault-merging-multiple-entity-aliases-for-the-same-mount-may-allow-privilege-escalation"},{"type":"PACKAGE","url":"https://github.com/hashicorp/vault"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qv95-g3gm-x542"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-41802.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-41802"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2015915"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-41802"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2021-41802","url":"https://www.cve.org/CVERecord?id=CVE-2021-41802","license":"CC-BY-4.0","modified_at":"2024-08-04T03:22:24.278Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-41802","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41802","relation":"self"},{"provider":"osv","source_id":"BIT-vault-2021-41802","url":"https://osv.dev/vulnerability/BIT-vault-2021-41802","license":"Apache-2.0","modified_at":"2026-09-08T08:48:21.286229Z","relation":"self"},{"provider":"osv","source_id":"GHSA-qv95-g3gm-x542","url":"https://osv.dev/vulnerability/GHSA-qv95-g3gm-x542","license":"CC-BY-4.0","modified_at":"2026-09-10T03:49:09.473784Z","relation":"self"},{"provider":"osv","source_id":"GO-2022-0618","url":"https://osv.dev/vulnerability/GO-2022-0618","license":"CC-BY-4.0","modified_at":"2026-02-04T03:05:42.149111Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2021-41802","url":"https://access.redhat.com/security/cve/CVE-2021-41802","license":"CC-BY-4.0","modified_at":"2023-08-03T08:29:08Z","relation":"self"}]}
