Skip to main content
EPSS 0.3%top 81%

CVE-2026-5006: CWE-639: Authorization Bypass Through User-Controlled Key in HashiCorp Vault

0
Medium
Published: 08/24/2026 (08/24/2026, 20:32:49 UTC)
Source: CVE Database V5
Vendor/Project: HashiCorp
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected software

HashiCorp

Vault

Affected versions
>=0.11.0 <2.0.4

HashiCorp

Vault Enterprise

Affected versions
>=0.11.0 <1.19.20>=1.20.0 <1.20.14>=1.21.0 <1.21.9>=2.0.0 <2.0.4
GitHub Actionsmore threats →cve
Vault
pkg:github/Vault
Affected versions
>=0.11.0 <2.0.4
GitHub Actionsmore threats →cve
Vault Enterprise
pkg:github/Vault Enterprise
Affected versions
>=0.11.0 <1.19.20>=1.20.0 <1.20.14>=1.21.0 <1.21.9>=2.0.0 <2.0.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 21:03:39 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses