HashiCorpCVE-2026-5006
HashiCorp Vault: insecure direct object reference
Fix: upgrade to 2.0.4 or later (2 fixed versions below)
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| Vault Product | >= 0.11.0, < 2.0.4 | 2.0.4 |
| Vault Enterprise Product | >= 0.11.0, < 2.0.4 | 2.0.4 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-639