{"id":"CVE-2026-5006","aliases":["CVE-2026-5006","BIT-VAULT-2026-5006"],"related":[],"kind":"vulnerability","state":"published","title":"Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad fue identificada en HashiCorp Vault y Vault Enterprise ('Vault') de tal manera que un atacante autenticado puede manipular un valor de identidad referenciado por una ruta de política con plantilla para obtener acceso no intencionado a rutas de Vault.\n\nUn atacante que puede controlar el valor de identidad referenciado puede incluir caracteres de barra inclinada ({{/}}) que Vault interpreta como segmentos de ruta adicionales al renderizar la política.\n\nEsta vulnerabilidad, CVE-2026-5006, fue corregida en Vault Community Edition 2.0.4 y Vault Enterprise 2.0.4, 1.21.9, 1.20.14 y 1.19.20.","source":"nvd"}],"published":"2026-08-24T20:32:49.396Z","modified":"2026-10-12T21:10:00.227Z","severity":{"scorer":"HashiCorp","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"HashiCorp","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","score":6.8,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-639"],"affected":[{"ranges":[{"type":"semver","introduced":"0.11.0","fixed":"2.0.4","status":"affected"}],"vendor":"HashiCorp","product":"Vault","repo":"https://github.com/hashicorp/vault","platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.11.0","fixed":"2.0.4","status":"affected"}],"vendor":"HashiCorp","product":"Vault Enterprise","repo":"https://github.com/hashicorp/vault","platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.11.0","status":"affected","fixed":"2.0.4"}],"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","source":"bitnami"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2026-32-vault-vulnerable-to-privilege-escalation-via-slash-injection-in-templated-policy-paths","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5006","tags":["web"],"sources":["bitnami"]}],"credits":["This issue was reported to HashiCorp by Lior Moshe, Uri Rolls, and Daniel Peters, Operating Intelligence ([opint.ai|http://opint.ai/])"],"assigner":"HashiCorp","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-25T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-5006","url":"https://www.cve.org/CVERecord?id=CVE-2026-5006","licence":"CVE Terms of Use","modified":"2026-08-26T03:56:14.745Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-5006","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5006","licence":"Public domain","modified":"2026-10-12T21:10:00.227Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-VAULT-2026-5006","url":"https://osv.dev/vulnerability/BIT-VAULT-2026-5006","licence":"Apache-2.0","modified":"2026-08-28T15:45:36.688Z"}],"updatedAt":"2026-11-25T22:59:35.073Z","epss":{"score":0.00177,"percentile":0.07567,"date":"2026-12-01T12:00:22.000Z"}}