6.8medium
Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths
- Severity
- 6.8medium CVSS:3.1 by HashiCorp
- Exploit likelihood
- 0.18% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- HashiCorp
- Also known as
- BIT-VAULT-2026-5006
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| HashiCorp Vault | from 0.11.0 before 2.0.4 | CVE List |
| HashiCorp Vault Enterprise | from 0.11.0 before 2.0.4 | CVE List |
| vault (Bitnami) | from 0.11.0 before 2.0.4 | Bitnami Vulnerability Database |
All scores
| HashiCorp | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad fue identificada en HashiCorp Vault y Vault Enterprise ('Vault') de tal manera que un atacante autenticado puede manipular un valor de identidad referenciado por una ruta de política con plantilla para obtener acceso no intencionado a rutas de Vault. Un atacante que puede controlar el valor de identidad referenciado puede incluir caracteres de barra inclinada ({{/}}) que Vault interpreta como segmentos de ruta adicionales al renderizar la política. Esta vulnerabilidad, CVE-2026-5006, fue corregida en Vault Community Edition 2.0.4 y Vault Enterprise 2.0.4, 1.21.9, 1.20.14 y 1.19.20.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-5006 changed 2026-08-26 | CVE Terms of Use |
| NVD | CVE-2026-5006 changed 2026-10-12 | Public domain |
| Bitnami Vulnerability Database | BIT-VAULT-2026-5006 changed 2026-08-28 | Apache-2.0 |