CVE-2026-5006
published medium CVSS 3.1 · 6.8Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| HashiCorp | — | Vault0.11.0 to < 2.0.4 (affected · semver); changes: unaffected at 2.0.4 · Other versions: unaffected · Platforms: 64 bit, 32 bit, x86, ARM, MacOS, Windows, Linux | Version-specific | Not stated | HashiCorp |
| HashiCorp | — | Vault Enterprise0.11.0 to < 2.0.4 (affected · semver); changes: unaffected at 1.19.20, affected at 1.20.0, unaffected at 1.20.14, affected at 1.21.0, unaffected at 1.21.9, affected at 2.0.0, unaffected at 2.0.4 · Other versions: unaffected · Platforms: 64 bit, 32 bit, x86, ARM, MacOS, Windows, Linux | Version-specific | Not stated | HashiCorp |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- HashiCorp · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| HashiCorp | Vault | 0.11.0 to < 2.0.4 (affected · semver); changes: unaffected at 2.0.4Default: unaffected | HashiCorp · cna |
| HashiCorp | Vault Enterprise | 0.11.0 to < 2.0.4 (affected · semver); changes: unaffected at 1.19.20, affected at 1.20.0, unaffected at 1.20.14, affected at 1.21.0, unaffected at 1.21.9, affected at 2.0.0, unaffected at 2.0.4Default: unaffected | HashiCorp · cna |
Weaknesses
1- CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key
References
1Provider assertions
2HashiCorp · cna
Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b70dca0f80ea6d7725d25b4379d3a7eda944c491f3b9d957c5c35d379b68e69b
- Ingested
- 23 Sep 2026, 09:22:51 UTC
- Source record
- Official CVE record