CVE-2026-5006 Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Red Hat
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.
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.
Upgrade path
8 packages: 2 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/odf4/cephcsi-rhel9(Red Hat openshift_data_foundation 4) | All versions | No fix listed | No fix yet |
| redhat/odf4/mcg-cli-rhel9(Red Hat openshift_data_foundation 4) | All versions | No fix listed | No fix yet |
| redhat/odf4/mcg-rhel9-operator(Red Hat openshift_data_foundation 4) | All versions | No fix listed | No fix yet |
| redhat/rhceph-dev/odf4-cephcsi-rhel9(Red Hat openshift_data_foundation 4) | All versions | No fix listed | No fix yet |
| redhat/rhceph-dev/odf4-mcg-cli-rhel9(Red Hat openshift_data_foundation 4) | All versions | No fix listed | No fix yet |
| redhat/rhceph-dev/odf4-mcg-rhel9-operator(Red Hat openshift_data_foundation 4) | All versions | No fix listed | No fix yet |
| hashicorp github.com/hashicorp/vault | >= 0.11.0, < 2.0.4 | 2.0.4 | Fixed |
| hashicorp Vault Enterprise | >= 0.11.0, < 1.19.20; >= 1.20.0, < 1.20.14; >= 1.21.0, < 1.21.9; >= 2.0.0, < 2.0.4 | 1.19.20, 1.20.14, 1.21.9, 2.0.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hashicorp github.com/hashicorp/vault | >= 0.11.0, < 2.0.4 | 2.0.4 |
| hashicorp Vault Enterprise | >= 0.11.0, < 1.19.20 | 1.19.20 |
| hashicorp Vault Enterprise | >= 1.20.0, < 1.20.14 | 1.20.14 |
| hashicorp Vault Enterprise | >= 1.21.0, < 1.21.9 | 1.21.9 |
| hashicorp Vault Enterprise | >= 2.0.0, < 2.0.4 | 2.0.4 |
| redhat/odf4/cephcsi-rhel9(Red Hat:openshift_data_foundation:4) | All versions | No fix listed |
| redhat/odf4/mcg-cli-rhel9(Red Hat:openshift_data_foundation:4) | All versions | No fix listed |
| redhat/odf4/mcg-rhel9-operator(Red Hat:openshift_data_foundation:4) | All versions | No fix listed |
| redhat/rhceph-dev/odf4-cephcsi-rhel9(Red Hat:openshift_data_foundation:4) | All versions | No fix listed |
| redhat/rhceph-dev/odf4-mcg-cli-rhel9(Red Hat:openshift_data_foundation:4) | All versions | No fix listed |
| redhat/rhceph-dev/odf4-mcg-rhel9-operator(Red Hat:openshift_data_foundation:4) | All versions | No fix listed |
References
- discuss.hashicorp.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2523131 issue-tracking
- www.cve.org
- nvd.nist.gov
- ENISA EUVD EUVD-2026-65122 third-party-advisory