CVE-2026-5006: CWE-639: Authorization Bypass Through User-Controlled Key in HashiCorp Vault
Description
CVE-2026-5006 is an authorization bypass vulnerability in HashiCorp Vault and Vault Enterprise. An authenticated attacker can manipulate an identity value in a templated policy path, including slash characters, to gain unintended access to Vault paths. This vulnerability was fixed in Vault Community Edition 2.0.4 and Vault Enterprise versions 2.0.4, 1.21.9, 1.20.14, and 1.19.20.
CVSS v3.1
Score 6.8medium
Affected software
HashiCorp
Vault
HashiCorp
Vault Enterprise
pkg:github/Vault EnterpriseRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-5006 in HashiCorp Vault allows an authenticated attacker to bypass authorization controls by manipulating an identity value referenced by a templated policy path. Specifically, the attacker can include slash ('/') characters in the identity value, which Vault interprets as additional path segments when rendering the policy. This can lead to unintended access to Vault paths that the attacker should not have permissions for. The issue affects multiple versions of Vault prior to the fixed releases. The vulnerability is tracked as CWE-639 (Authorization Bypass Through User-Controlled Key).
Potential Impact
An authenticated attacker with the ability to control the referenced identity value in a templated policy path can gain unauthorized access to Vault paths beyond their intended permissions. This can lead to exposure or misuse of sensitive secrets managed by Vault. The vulnerability does not affect availability but impacts confidentiality and integrity of Vault data.
Mitigation Recommendations
This vulnerability has been fixed in Vault Community Edition 2.0.4 and Vault Enterprise versions 2.0.4, 1.21.9, 1.20.14, and 1.19.20. Users should upgrade to one of these fixed versions or later to remediate the issue. No other mitigation or workaround is indicated in the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- HashiCorp
- Date Reserved
- 2026-03-27T13:52:35.219Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a8caba0acd9273b49192427
Added to database: 08/24/2026, 20:37:52 UTC
Last enriched: 09/10/2026, 21:03:39 UTC
Last updated: 10/08/2026, 18:48:47 UTC
Views: 88
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.