CVE-2026-5006Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths
Updated under an hour ago ()
Does this affect you?
It affects HashiCorp Vault and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 6.8 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- Weakness (CWE)
- CWE-639
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- HashiCorp
- NVD analysis
- Awaiting Analysis
- Record last updated
- Aug 26, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
HashiCorp Vault hashicorp:vault (from the name) | from 0.11.0 before 2.0.4; fixed at 2.0.4 | CNA record |
HashiCorp Vault Enterprise hashicorp:vault_enterprise (from the name) | from 0.11.0 before 2.0.4; fixed at 1.19.20, affected at 1.20.0, fixed at 1.20.14, affected at 1.21.0, fixed at 1.21.9, affected at 2.0.0, fixed at 2.0.4 | CNA record |
References
- https://discuss.hashicorp.com/t/hcsec-2026-32-vault-vulnerable-to-privilege-escalation-via-slash-injection-in-templated-policy-paths
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.