CVE-2026-5006
JSON

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 packageVersionsReported by
HashiCorp Vaultfrom 0.11.0 before 2.0.4CVE List
HashiCorp Vault Enterprisefrom 0.11.0 before 2.0.4CVE List
vault (Bitnami)from 0.11.0 before 2.0.4Bitnami Vulnerability Database

All scores

HashiCorp6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-639

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

SourceRecordLicence
CVE ListCVE-2026-5006 changed 2026-08-26CVE Terms of Use
NVDCVE-2026-5006 changed 2026-10-12Public domain
Bitnami Vulnerability DatabaseBIT-VAULT-2026-5006 changed 2026-08-28Apache-2.0