CVE-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.
How to fix
- HashiCorp Vault2.0.4 or later
- HashiCorp Vault Enterprise2.0.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| HashiCorp Vault | 0.11.0 ≤ v < 2.0.4 | 2.0.4 |
| HashiCorp Vault Enterprise | 0.11.0 ≤ v < 2.0.4 | 2.0.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.