Vendors › HashiCorp
HCSEC-2026-32
Medium (6.8) EPSS 0.2% HashiCorp · Vault
Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths
Vault's templated policy paths did not neutralize slash characters, so a crafted policy could escalate the caller's privileges. Fixed in Vault 2.0.4 and Vault Enterprise 2.0.4, 1.21.9, 1.20.14, and 1.19.20.
| Published | 2026-08-24 |
| Updated | 2026-08-24 |
| Affected | Vault Community Edition from 0.11.0 up to 2.0.3; Vault Enterprise from 0.11.0 up to 2.0.3, 1.21.8, 1.20.13, and 1.19.19 |
| Fix | Upgrade to Vault Community Edition 2.0.4; Vault Enterprise 2.0.4, 1.21.9, 1.20.14, and 1.19.20. |
| CVEMesh analysis | A vulnerability in HashiCorp's Vault allows an attacker to escalate privileges by crafting a policy with slash characters.
The advisory does not state exploitation conditions.
The most important action is to upgrade Vault to the fixed release: Vault Community Edition 2.0.4, Vault Enterprise 2.0.4, 1.21.9, 1.20.14, or 1.19.20. Vendor states: "Vault's templated policy paths did not neutralize slash characters, so a crafted policy could escalate the caller's privileges." AI-generated — see the vendor advisory for the authoritative text. |
| Vendor advisory | https://discuss.hashicorp.com/t/hcsec-2026-32-vault-vulnerable-to-privilege-escalation-via-slash-injection-in-templated-policy-paths/77678 |
CVEs (1)
| CVE | CWE | Type | Impact | Links |
|---|---|---|---|---|
| CVE-2026-5006 | CWE-639 | Other | Bypass | NVD · CVE.org · EUVD |
CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.
Open in the CVEMesh app Create a free account
Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.
CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.