Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths
33Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 6.8epss 0.2%
from disclosure to weapon9 days
Published on NVDAug 24
1st PoC+9d
exploitation probability
0.2%top 93% of all CVEs
observed exploitation
nono source reports it
1 public exploit(s)
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.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
public PoCs found — 1
githubgithub.com/tcollins-hashicorp/vault-cve-2026-5006-audit★ 0⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.