{"schemaVersion":3,"id":"CVE-2021-41802","aliases":["CGA-4h75-x8r2-hh23","CGA-85xw-w23r-jj2q","CGA-mg3m-5m6r-xm9x","CGA-pxp8-9jrr-8v8p","CGA-wff4-g79m-x9c5","CGA-xrxr-6q9x-mg9f","GHSA-qv95-g3gm-x542","BIT-vault-2021-41802","GO-2022-0618","CGA-5j22-w277-2pq8","CGA-jjmc-w3fp-pvj3","CGA-mg7m-4xr5-gwhc","CGA-v232-j32q-4qh5"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2021-10-08T17:00:01.000Z","modified":"2024-08-04T03:22:24.278Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":2.9,"severity":"low","vector":"CVSS:3.1/AC:L/AV:A/A:N/C:L/I:N/PR:H/S:C/UI:R","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":2.9,"severity":"low","vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N","exploitability":3.1,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00609,"percentile":0.48134,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00609},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00609,"percentile":0.48134}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00609,"percentile":0.48134}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource","description":"The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/732.html"}],"affected":[{"vendor":"chainguard","product":"k3d","name":"k3d","label":"k3d","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/k3d","purlType":"apk","versions":[{"text":"< 5.6.0-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.6.0-r11","eol":null,"hubHref":null},{"vendor":"chainguard","product":"k3d-proxy","name":"k3d-proxy","label":"k3d-proxy","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/k3d-proxy","purlType":"apk","versions":[{"text":"< 5.6.0-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.6.0-r11","eol":null,"hubHref":null},{"vendor":"chainguard","product":"k3d-tools","name":"k3d-tools","label":"k3d-tools","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/k3d-tools","purlType":"apk","versions":[{"text":"< 5.6.0-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.6.0-r11","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vault-1.16","name":"vault-1.16","label":"vault-1.16","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vault-1.16","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vault-1.16-compat","name":"vault-1.16-compat","label":"vault-1.16-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vault-1.16-compat","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"k3d","name":"k3d","label":"k3d","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/k3d","purlType":"apk","versions":[{"text":"< 5.6.0-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.6.0-r11","eol":null,"hubHref":null},{"vendor":"wolfi","product":"k3d-proxy","name":"k3d-proxy","label":"k3d-proxy","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/k3d-proxy","purlType":"apk","versions":[{"text":"< 5.6.0-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.6.0-r11","eol":null,"hubHref":null},{"vendor":"wolfi","product":"k3d-tools","name":"k3d-tools","label":"k3d-tools","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/k3d-tools","purlType":"apk","versions":[{"text":"< 5.6.0-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.6.0-r11","eol":null,"hubHref":null},{"vendor":"github.com/hashicorp","product":"vault","name":"github.com/hashicorp/vault","label":"vault","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/hashicorp/vault","purlType":"golang","versions":[{"text":"< 1.7.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.8.0, < 1.8.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.7.5 | ≥ 1.8.0, < 1.8.4","eol":null,"hubHref":null},{"vendor":"hashicorp","product":"vault","name":"vault","label":"vault","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.7.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.8.0, < 1.8.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.7.5 | ≥ 1.8.0, < 1.8.4","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"hashicorp-vault","label":"Hashicorp Vault","category":"server-app"}},"hubHref":"/vendor/hashicorp/vault"}],"affectedCount":10,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2021-27-vault-merging-multiple-entity-aliases-for-the-same-mount-may-allow-privilege-escalation/","label":"discuss.hashicorp.com/t/…","hostname":"discuss.hashicorp.com","tags":["X Refsource MISC","Advisory","Vendor Advisory"]},{"url":"https://security.gentoo.org/glsa/202207-01","label":"security.gentoo.org/glsa/202207-01","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Advisory","WEB","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41802","label":"nvd.nist.gov/vuln/detail/CVE-2021-41802","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2021-27-vault-merging-multiple-entity-aliases-for-the-same-mount-may-allow-privilege-escalation","label":"discuss.hashicorp.com/t/…","hostname":"discuss.hashicorp.com","tags":["WEB"]},{"url":"https://github.com/hashicorp/vault","label":"github.com/hashicorp/vault","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-qv95-g3gm-x542","label":"github.com/advisories/GHSA-qv95-g3gm-x542","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-5J5R-62HM-48FC","CGA-8RQF-QMCC-JWQR","CGA-H82H-89H6-9V5W","CGA-HWW4-6M2Q-FM5R","CGA-M4Q4-7C29-J9WP","CGA-R2RR-3FGW-3CW2"]},"timeline":[{"kind":"published","date":"2021-10-08T17:00:01.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T03:22:24.278Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T01:33:31.896Z","stale":false,"partial":false}}