{"id":"CVE-2021-41802","aliases":["CVE-2021-41802","GHSA-qv95-g3gm-x542","BIT-VAULT-2021-41802","GO-2022-0618"],"related":["CGA-hww4-6m2q-fm5r"],"kind":"vulnerability","state":"published","title":"Hashicorp Vault Privilege Escalation Vulnerability","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 policies by merging their identities. Fixed in Vault and Vault Enterprise 1.7.5 and 1.8.4.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Hashicorp Vault Privilege Escalation Vulnerability in github.com/hashicorp/vault","format":"markdown","source":"go"},{"lang":"es","text":"HashiCorp Vault y Vault Enterprise versiones hasta 1.7.4 y 1.8.3, permitían que un usuario con permiso de escritura en un ID de alias de entidad que compartía un accesorio de montaje con otro usuario adquiriera las políticas de este otro usuario al fusionar sus identidades. Corregido en Vault y Vault Enterprise versiones 1.7.5 y 1.8.4","source":"nvd"}],"published":"2021-10-08T17:00:01.000Z","modified":"2026-09-10T03:49:09.473Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AC:L/AV:A/A:N/C:L/I:N/PR:H/S:C/UI:R","score":2.9,"rating":"LOW"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AC:L/AV:A/A:N/C:L/I:N/PR:H/S:C/UI:R","score":2.9,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N","score":2.9,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-269","CWE-732"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.5"}],"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.8.0","status":"affected","fixed":"1.8.4"}],"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.5"},{"type":"semver","introduced":"1.8.0","status":"affected","fixed":"1.8.4"}],"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","source":"go"},{"ranges":[{"status":"affected","fixed":"1.7.5"},{"status":"affected","fixed":"1.7.5"},{"status":"affected","introduced":"1.8.0","fixed":"1.8.4"},{"status":"affected","introduced":"1.8.0","fixed":"1.8.4"}],"vendor":"hashicorp","product":"vault","cpe":"cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.5"},{"type":"semver","introduced":"1.8.0","status":"affected","fixed":"1.8.4"}],"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","source":"bitnami"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2021-27-vault-merging-multiple-entity-aliases-for-the-same-mount-may-allow-privilege-escalation/","tags":["advisory","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.gentoo.org/glsa/202207-01","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-gentoo","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41802","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2021-27-vault-merging-multiple-entity-aliases-for-the-same-mount-may-allow-privilege-escalation","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/hashicorp/vault","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-qv95-g3gm-x542","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-41802","url":"https://www.cve.org/CVERecord?id=CVE-2021-41802","licence":"CVE Terms of Use","modified":"2024-08-04T03:22:24.278Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qv95-g3gm-x542","url":"https://github.com/advisories/GHSA-qv95-g3gm-x542","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:09.473Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0618","url":"https://pkg.go.dev/vuln/GO-2022-0618","licence":"CC-BY-4.0","modified":"2026-02-04T03:05:42.149Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-41802","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41802","licence":"Public domain","modified":"2026-06-17T04:08:56.433Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-VAULT-2021-41802","url":"https://osv.dev/vulnerability/BIT-VAULT-2021-41802","licence":"Apache-2.0","modified":"2026-09-08T08:48:21.286Z"}],"updatedAt":"2026-11-25T22:58:04.389Z","epss":{"score":0.00609,"percentile":0.50554,"date":"2026-12-02T12:00:21.000Z"}}