# CVE-2026-5006: Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths

- Severity: Medium 6.8 (CVSS:3.1, scored by HashiCorp) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-08-24T20:32:49.396Z
- Modified: 2026-10-12T21:10:00.227Z
- Also known as: BIT-VAULT-2026-5006
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: HashiCorp

## 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.

(As written by CVE List.)

## Affected

- HashiCorp Vault: from 0.11.0 before 2.0.4
- HashiCorp Vault Enterprise: from 0.11.0 before 2.0.4
- vault (Bitnami): from 0.11.0 before 2.0.4

## Every score

- HashiCorp: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://discuss.hashicorp.com/t/hcsec-2026-32-vault-vulnerable-to-privilege-escalation-via-slash-injection-in-templated-policy-paths> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-5006> (web)

## Sources

- CVE List: [CVE-2026-5006](https://www.cve.org/CVERecord?id=CVE-2026-5006), CVE Terms of Use, modified 2026-08-26
- NVD: [CVE-2026-5006](https://nvd.nist.gov/vuln/detail/CVE-2026-5006), Public domain, modified 2026-10-12
- Bitnami Vulnerability Database: [BIT-VAULT-2026-5006](https://osv.dev/vulnerability/BIT-VAULT-2026-5006), Apache-2.0, modified 2026-08-28

---

Page: https://cve.day/CVE-2026-5006 · Whole record: https://cve.day/CVE-2026-5006.json · Rebuilt by cve.day 2026-11-25T22:59:35.073Z
