Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths
HashiCorp Vault · HashiCorp Vault Enterprise
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| HashiCorp Vault 64 bit, 32 bit, x86, ARM, MacOS, Windows, Linux |
| No fix yet |
| HashiCorp Vault Enterprise 64 bit, 32 bit, x86, ARM, MacOS, Windows, Linux |
| No fix yet |
Original 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.