Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-41802

LOW 2.9EPSS 43%

Hashicorp Vault Privilege Escalation Vulnerability

Also known as BIT-vault-2021-41802, GHSA-qv95-g3gm-x542, GO-2022-0618

Mitigation

  • Upgrade github.com/hashicorp/vault to one of 1.7.5, 1.8.4 (or later in the same release line).

Who should check

  • Projects that depend on Go package github.com/hashicorp/vault (< 1.7.5)
  • Anyone running n/a (versions: see the vendor advisory)

Vulnerability facts

Affected
github.com/hashicorp/vault < 1.7.5
Fixed in
1.7.5, 1.8.4
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
2.9 (v3.1, CNA)CVSS:3.1/AC:L/AV:A/A:N/C:L/I:N/PR:H/S:C/UI:ROpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack complexity: Low
  • Attack vector: Adjacent network
  • Availability impact: None
  • Confidentiality impact: Low
  • Integrity impact: None
  • Privileges required: High
  • Scope: Changed (impact reaches other components)
  • User interaction: Required
EPSS
0.61% chance of exploitation in 30 days (percentile 43, 2026-11-26)
CWE
CWE-732
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/hashicorp/vault< 1.7.51.7.5, 1.8.4osv
n/a——nvd

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-41802. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-41802.md
Affected: github.com/hashicorp/vault < 1.7.5
Fixed in: 1.7.5, 1.8.4

Steps:
1. Search this machine and project for github.com/hashicorp/vault (Go), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-41802 being exploited?

There is no confirmed exploitation: CVE-2021-41802 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.61% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-41802?

Low: CVSS 2.9 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2021-41802?

github.com/hashicorp/vault < 1.7.5.

Is there a fix for CVE-2021-41802?

Yes. Fixed in 1.7.5, 1.8.4. Upgrade github.com/hashicorp/vault to one of 1.7.5, 1.8.4 (or later in the same release line).

How do I check if I'm affected by CVE-2021-41802?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors