AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

HashiCorpCVE-2026-5006

HashiCorp Vault: insecure direct object reference

HashiCorp

CVE-2026-5006 · Published Aug 24, 2026 · updated Aug 28, 2026

Medium6.8
Fix: upgrade to 2.0.4 or later (2 fixed versions below)
HashiCorp advisory

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

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