Skip to main content

HashiCorp Vault CVE-2026-5006

| EUVDEUVD-2026-65122 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-08-24 HashiCorp GHSA-5h48-5rrm-m3c8
6.8
CVSS 3.1 · Vendor: HashiCorp
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Vault with low-privilege credentials
  2. Delivery
    Identify or control a user-modifiable identity attribute referenced in a templated ACL policy path
  3. Exploit
    Inject slash characters into the identity value
  4. Execution
    Submit API request to the crafted effective path
  5. Impact
    Read or write secrets beyond authorized scope

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Exploitation requires the Vault deployment to have at least one ACL policy configured with a templated path variable that references a user-controllable identity attribute - such as an entity name, entity alias, or metadata field populated by an external auth method (e.g., LDAP, GitHub, AWS IAM). The attacker must hold valid, authenticated Vault credentials with at least low-privilege access (PR:L per CVSS vector). The vulnerability is entirely unexploitable in deployments that do not use templated ACL policy paths, or where all identity values referenced in templates are set exclusively by Vault operators and cannot be influenced by the authenticating user. The requirement for this specific non-default configuration (AC:H) is the primary factor limiting realistic attack surface; organizations using Vault purely with static ACL policies are not affected regardless of version.

Impact

The CVSS 3.1 score of 6.8 (Medium) accurately reflects the real-world constraint encoded in AC:H: exploitation requires a Vault deployment that has deliberately configured templated ACL policy paths AND references an identity attribute that an authenticated user can influence - a non-default, operator-constructed scenario rather than a universally present attack surface. CISA has not listed this in KEV at time of analysis, and no proof-of-concept code appears in the provided intelligence, consistent with a targeted rather than mass-exploitation risk profile. EPSS data is absent from the available intelligence and cannot be assessed. The C:H/I:H impact metrics are serious: secrets management systems are inherently high-value targets, and successful exploitation would fully compromise the confidentiality and integrity of reachable Vault paths - an outcome relevant to supply-chain and lateral-movement scenarios. Environments using identity-based multi-tenancy segmentation in Vault should treat this as an urgent patch priority despite the moderate overall score, because the templating feature that introduces the vulnerability is precisely the one relied upon for tenant isolation. The S:U scope and A:N metrics indicate no privilege escalation beyond the Vault instance itself and no service disruption, which limits but does not eliminate the blast radius.

Exploit ScenarioDerived

An authenticated Vault user with limited access - for example, scoped to secret/data/tenants/alice/ via a templated policy - manipulates their entity name or a user-settable metadata field to include slash characters, such as alice/../admin. When Vault renders the templated policy path using this value, it evaluates secret/data/tenants/admin/ as the effective path, granting the attacker read and write access to another tenant's secrets outside their authorization boundary. No public proof-of-concept code exists at time of analysis, but the attack concept is straightforward for any user who understands Vault's policy templating syntax.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 24, 2026

Privilege escalation in HashiCorp Vault allows authenticated low-privileged users to traverse outside their authorized secret paths by injecting forward-slash characters into identity values referenced by templated ACL policy paths. Both Vault Community and Enterprise editions from version 0.11.0 through 2.0.3 are affected across all platforms. No public exploit code or active exploitation is confirmed at time of analysis; however, the high confidentiality and integrity impact make this a priority for any organization using identity-based templated ACL policies.

RemediationAI

Upgrade to Vault Community Edition 2.0.4 or Vault Enterprise 2.0.4, 1.21.9, 1.20.14, or 1.19.20, as confirmed by the vendor advisory at https://discuss.hashicorp.com/t/hcsec-2026-32-vault-vulnerable-to-privilege-escalation-via-slash-injection-in-templated-policy-paths. If immediate patching is not feasible, operators should audit all ACL policies using identity-based template variables and identify any that reference attributes controllable by the authenticating user (such as entity aliases from untrusted auth methods or user-supplied metadata). As a compensating control, restrict templated path policies to identity attributes that are exclusively operator-set and never user-influenced; this trade-off may reduce the flexibility of multi-tenant policy segmentation but eliminates the injection surface. Replacing templated paths with explicit static policies per entity is the safest interim measure, though it increases operational overhead in large multi-tenant deployments.

Affected VersionsENISA

Vault 0.11.0 <2.0.4
Vault Enterprise 0.11.0 <2.0.4

Affected Packages

euvd vault fix: 2.0.4
euvd vault_enterprise fix: 2.0.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

HashiCorp Vault supports ACL policy templating, where path definitions dynamically reference identity attributes such as entity names, group names, or metadata fields via variables like {{identity.entity.name}}. CWE-639 (Authorization Through User-Controlled Key) identifies the root cause: Vault's policy rendering engine insufficiently sanitizes these identity values before interpolating them into path strings, allowing injected slash (/) characters to be interpreted as genuine path segment delimiters. This causes the effective evaluated path to differ from operator intent - a form of path traversal within the policy engine. The CPE strings cpe:2.3:a:hashicorp:vault:*:*:*:*:*:*:*:* and cpe:2.3:a:hashicorp:vault_enterprise:*:*:*:*:*:*:*:* confirm both product lines are affected; the EUVD-2026-65122 record bounds the vulnerable range from 0.11.0 to below 2.0.4.

Know when Vault gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (HashiCorp) PRIMARY 6.8 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 6.8 MEDIUM

AC:H because templated policy paths must be in use and the referenced identity attribute must be user-controllable; PR:L for required authentication; no availability impact.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 8.1 HIGH

Primary rating from Vendor (HashiCorp).

CVSS VectorVendor: HashiCorp

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

1
Patch available
Aug 24, 2026 - 21:02 EUVD

DescriptionCVE.org

A vulnerability was identified in HashiCorp Vault and Vault Enterprise (“Vault”) such that an authenticated attacker may manipulate an identity value referenced by a templated policy path to gain unintended access to Vault paths.

An attacker who can control the referenced identity value may include slash ({{/}}) characters that Vault interprets as additional path segments when rendering the policy.

This vulnerability, CVE-2026-5006, was fixed in Vault Community Edition 2.0.4 and Vault Enterprise 2.0.4, 1.21.9, 1.20.14, and 1.19.20.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
widely-used enterprise secrets management, not universally deployed
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Vault

View all
CVE-2024-0831 MEDIUM POC
6.5 Feb 01

Vault and Vault Enterprise (“Vault”) may expose sensitive information when enabling an audit device which specifies the

CVE-2024-2048 CRITICAL
9.8 Mar 04

Vault and Vault Enterprise (“Vault”) TLS certificate auth method did not correctly validate client certificates when con

CVE-2020-35192 CRITICAL
9.8 Dec 17

The official vault docker images before 0.11.6 contain a blank password for a root user. Rated critical severity (CVSS 9

CVE-2020-12757 CRITICAL
9.8 Jun 10

HashiCorp Vault and Vault Enterprise 1.4.0 and 1.4.1, when configured with the GCP Secrets Engine, may incorrectly gener

CVE-2022-40186 CRITICAL
9.1 Sep 22

An issue was discovered in HashiCorp Vault and Vault Enterprise before 1.11.3. Rated critical severity (CVSS 9.1), this

CVE-2022-36129 CRITICAL
9.1 Jul 26

HashiCorp Vault Enterprise 1.7.0 through 1.9.7, 1.10.4, and 1.11.0 clusters using Integrated Storage expose an unauthent

CVE-2020-10661 CRITICAL
9.1 Mar 23

HashiCorp Vault and Vault Enterprise versions 0.11.0 through 1.3.3 may, under certain circumstances, have existing neste

CVE-2026-4525 HIGH
8.8 Apr 17

Token leakage in HashiCorp Vault and Vault Enterprise (0.11.2 up to 2.0.0, 1.21.5, 1.20.10, and 1.19.16) occurs when an

CVE-2024-7594 HIGH
8.8 Sep 26

Vault’s SSH secrets engine did not require the valid_principals list to contain a value by default. Rated high severity

CVE-2026-5052 HIGH
8.6 Apr 17

Server-side request forgery (SSRF) in HashiCorp Vault's PKI engine ACME validation allows unauthenticated remote attacke

CVE-2020-16251 HIGH
8.2 Aug 26

HashiCorp Vault and Vault Enterprise versions 0.8.3 and newer, when configured with the GCP GCE auth method, may be vuln

CVE-2020-16250 HIGH
8.2 Aug 26

HashiCorp Vault and Vault Enterprise versions 0.7.1 and newer, when configured with the AWS IAM auth method, may be vuln

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy