Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Vault with low-privilege credentials
-
DeliveryIdentify or control a user-modifiable identity attribute referenced in a templated ACL policy path
-
ExploitInject slash characters into the identity value
-
ExecutionSubmit API request to the crafted effective path
-
ImpactRead 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
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.
Primary rating from Vendor (HashiCorp).
CVSS VectorVendor: HashiCorp
Lifecycle Timeline
1DescriptionCVE.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.
Articles & Coverage 1
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Vault and Vault Enterprise (“Vault”) may expose sensitive information when enabling an audit device which specifies the
Vault and Vault Enterprise (“Vault”) TLS certificate auth method did not correctly validate client certificates when con
The official vault docker images before 0.11.6 contain a blank password for a root user. Rated critical severity (CVSS 9
HashiCorp Vault and Vault Enterprise 1.4.0 and 1.4.1, when configured with the GCP Secrets Engine, may incorrectly gener
An issue was discovered in HashiCorp Vault and Vault Enterprise before 1.11.3. Rated critical severity (CVSS 9.1), this
HashiCorp Vault Enterprise 1.7.0 through 1.9.7, 1.10.4, and 1.11.0 clusters using Integrated Storage expose an unauthent
HashiCorp Vault and Vault Enterprise versions 0.11.0 through 1.3.3 may, under certain circumstances, have existing neste
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
Vault’s SSH secrets engine did not require the valid_principals list to contain a value by default. Rated high severity
Server-side request forgery (SSRF) in HashiCorp Vault's PKI engine ACME validation allows unauthenticated remote attacke
HashiCorp Vault and Vault Enterprise versions 0.8.3 and newer, when configured with the GCP GCE auth method, may be vuln
HashiCorp Vault and Vault Enterprise versions 0.7.1 and newer, when configured with the AWS IAM auth method, may be vuln
EUVD-2026-65122
GHSA-5h48-5rrm-m3c8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB