Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-41802
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:38 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-41802
Complete source record
{
"id": "aa394caf0c949ae700bee21dad4f982781902bfc82b22f1e613b58cbd65833c1",
"url": "https://osv.dev/vulnerability/CVE-2021-41802",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-41802",
"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.",
"evidence": "osv:CVE-2021-41802",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-41802",
"aliases": [
"BIT-vault-2021-41802",
"CVE-2021-41802",
"GHSA-qv95-g3gm-x542",
"GO-2022-0618"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/hashicorp/vault",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "d1f4f619fc460edb5d02ffbd47c4af919e3932a0"
},
{
"introduced": "82a99f14eb6133f99a975e653d4dac21c17505c7"
},
{
"fixed": "925bc650ad1d997e84fbb832f302a6bfe0105bbb"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.7.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.7.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*",
"range": [
{
"introduced": "1.8.0"
},
{
"fixed": "1.8.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "1.8.0"
},
{
"fixed": "1.8.4"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.8.3",
"v1.8.2",
"v1.7.4",
"v1.8.1",
"v1.8.0",
"v1.7.3",
"v1.7.2",
"v1.7.1",
"sdk/v0.2.0",
"api/v1.1.0",
"v1.7.0",
"v1.7.0-rc2",
"v1.7.0-rc1",
"v1.2.0",
"v1.2.0-rc1",
"api/v1.0.4",
"sdk/v0.1.13",
"api/v1.0.3",
"sdk/v0.1.12",
"v1.2.0-beta2",
"v1.2.0-beta1",
"sdk/v0.1.11",
"sdk/v0.1.10",
"api/v1.0.2",
"v1.1.1",
"sdk/v0.1.9",
"api/v1.0.1",
"sdk/v0.1.8",
"v1.1.0",
"v1.1.0-beta2",
"v1.1.0-beta1",
"v1.0.3",
"v1.0.2",
"v1.0.1",
"v0.10.2",
"v1.0.0",
"v1.0.0-rc1",
"v1.0.0-beta2",
"v1.0.0-beta1",
"v0.11.2",
"v0.11.1",
"v0.11.0",
"v0.11.0-beta1",
"v0.10.4",
"v0.10.3",
"v0.10.1",
"v0.10.0",
"v0.10.0-rc1",
"v0.9.6",
"v0.9.5",
"v0.9.4",
"v0.9.2",
"v0.9.1",
"v0.9.0",
"v0.8.3",
"v0.8.2",
"v0.8.1",
"v0.8.0",
"v0.8.0-rc1",
"v0.8.0-beta1",
"v0.7.3",
"v0.7.2",
"v0.7.1",
"v0.6.5",
"v0.7.0",
"v0.7.0-beta1",
"v0.6.4",
"v0.6.3",
"v0.6.2",
"v0.6.1",
"v0.6.1-rc3",
"v0.6.1-rc2",
"v0.6.1-rc1",
"v0.6.0-rebuild",
"v0.6.0",
"v0.6.0-rc1",
"v0.5.2",
"v0.6.0-beta2",
"v0.6.0-beta1",
"v0.5.1",
"v0.5.0",
"v0.5.0-rc2",
"v0.5.0-rc1.2",
"v0.5.0-rc1.1",
"v0.5.0-rc1",
"v0.4.0",
"v0.4.0-rc1",
"v0.3.1",
"v0.3.0",
"v0.3.0-rc",
"v0.2.0",
"v0.2.0.rc1",
"v0.1.2",
"v0.1.1",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41802.json"
}
}
],
"modified": "2026-10-24T10:30:55.999962693Z",
"provider": "osv",
"references": [
"https://discuss.hashicorp.com/t/hcsec-2021-27-vault-merging-multiple-entity-aliases-for-the-same-mount-may-allow-privilege-escalation/",
"https://security.gentoo.org/glsa/202207-01"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-41802",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 438566,
"published_at": "2021-10-08T17:15:07.853+00:00"
}