{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-5006","id":"CVE-2026-5006","title":"Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths","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.\n\nAn attacker who can control the referenced identity value may include slash ({{/}}) characters that Vault interprets as additional path segments when rendering the polic","descriptionLong":"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.\n\nAn attacker who can control the referenced identity value may include slash ({{/}}) characters that Vault interprets as additional path segments when rendering the policy.\n\nThis 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.","published":"2026-08-24T20:32:49.396Z","updated":"2026-10-28T02:31:03.023485723Z","reserved":"2026-03-27T13:52:35.219Z","status":"Awaiting Analysis","rejected":false,"assigner":"HashiCorp","metric":{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"HashiCorp"},"metrics":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"HashiCorp"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"hashicorp.com"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["HashiCorp Vault","HashiCorp Vault Enterprise"],"affectedProducts":[{"vendor":"HashiCorp","product":"Vault","defaultStatus":"unaffected","versions":[{"changes":[{"at":"2.0.4","status":"unaffected"}],"lessThan":"2.0.4","status":"affected","version":"0.11.0","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"]},{"vendor":"HashiCorp","product":"Vault Enterprise","defaultStatus":"unaffected","versions":[{"changes":[{"at":"1.19.20","status":"unaffected"},{"at":"1.20.0","status":"affected"},{"at":"1.20.14","status":"unaffected"},{"at":"1.21.0","status":"affected"},{"at":"1.21.9","status":"unaffected"},{"at":"2.0.0","status":"affected"},{"at":"2.0.4","status":"unaffected"}],"lessThan":"2.0.4","status":"affected","version":"0.11.0","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"]}],"packages":[],"cwes":["CWE-639"],"aliases":["BIT-vault-2026-5006"],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2026-32-vault-vulnerable-to-privilege-escalation-via-slash-injection-in-templated-policy-paths","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5006.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5006","tags":["advisory"]},{"url":"https://github.com/hashicorp/vault","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00279,"epssPercentile":0.207,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-5006","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5006","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-5006","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-5006","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}