{"id":"CVE-2026-5006","published":"2026-08-24T20:32:49Z","modified":"2026-08-26T03:56:14Z","title":"Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths","vendor":"HashiCorp","product":"Vault","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00279,"percentile":0.20899,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2026-32-vault-vulnerable-to-privilege-escalation-via-slash-injection-in-templated-policy-paths","tags":[]}],"priority":{"score":8.9,"factors":[{"name":"EPSS percentile","points":4.18},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"hashicorp","affectedVersions":[{"vendor":"HashiCorp","product":"Vault","versions":[">= 0.11.0, < 2.0.4"]},{"vendor":"HashiCorp","product":"Vault Enterprise","versions":[">= 0.11.0, < 2.0.4"]}],"fixedVersions":[{"vendor":"HashiCorp","product":"Vault","versions":["2.0.4"]},{"vendor":"HashiCorp","product":"Vault Enterprise","versions":["1.19.20","1.20.14","1.21.9","2.0.4"]}],"capec":[{"id":"CAPEC-240","name":"Resource Injection"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-08-25T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-65122","exploited":false,"provenance":"source"}}