Skip to content
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.

HashiCorp advisory

Affected versions

PackageAffectedFixed in
Vault
Product
>= 0.11.0, < 2.0.42.0.4
Vault Enterprise
Product
>= 0.11.0, < 2.0.42.0.4
Details and references

More HashiCorp advisories

All HashiCorp
Advisory
HashiCorp Packer: code execution
High7.1Aug 17
HashiCorp Tooling: arbitrary file read
Critical9.6Aug 13
HashiCorp Vault Enterprise: missing authorization
High8.2Aug 10
HashiCorp Vault: improper authorization
Medium4.3Aug 10
HashiCorp Consul: denial of service
High7.5Aug 7
HashiCorp Consul: denial of service
Medium5.3Aug 7

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.