HashiCorpCVE-2026-5006
HashiCorp Vault: insecure direct object reference
Medium6.8CVE-2026-5006 · Published Aug 24, 2026 · updated Aug 28, 2026
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
More HashiCorp advisories
All HashiCorp| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Aug 17 | HashiCorp Packer: code execution | High7.1 | 1.16.0 |
| Aug 13 | HashiCorp Tooling: arbitrary file read | Critical9.6 | 1.5.0 |
| Aug 10 | HashiCorp Vault Enterprise: missing authorization | High8.2 | 2.0.4 |
| Aug 10 | HashiCorp Vault: improper authorization | Medium4.3 | 2.0.3+1 more |
| Aug 7 | HashiCorp Consul: denial of service | High7.5 | 2.0.3+1 more |
| Aug 7 | HashiCorp Consul: denial of service | Medium5.3 | 2.0.3+1 more |