{"id":"CVE-2026-5006","aliases":["BIT-vault-2026-5006","WID-SEC-W-2026-2993"],"summary":"Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths","published_at":"2026-08-24T20:32:49.396Z","modified_at":"2026-09-24T16:24:30Z","products":[{"slug":"vault","name":"HashiCorp Vault","category":"secrets"}],"rating":{"severity":"high","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"BSI","rating":"mittel"},{"source":"Red Hat","rating":"Important"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.00279000005684793,"percentile":0.20777000486850739,"date":"2026-11-19T00:00:00Z"},"priority":9.1,"details":"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.","affected_stack":[{"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0.11.0"},{"fixed":"2.0.4"}]}],"fixed":["2.0.4"],"provider":"osv","source":"BIT-vault-2026-5006","relation":"self"},{"ecosystem":"CVE","package":"HashiCorp/Vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.11.0"},{"fixed":"2.0.4"}]}],"fixed":["2.0.4"],"provider":"cvelistv5","source":"CVE-2026-5006","relation":"self"},{"ecosystem":"CVE","package":"HashiCorp/Vault Enterprise","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.11.0"},{"fixed":"2.0.4"}]}],"fixed":["2.0.4"],"provider":"cvelistv5","source":"CVE-2026-5006","relation":"self"}],"affected_other":[],"product_status":[{"vendor":"BSI","product":"Hashicorp Vault Community Edition <2.0.4","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2993"},{"vendor":"BSI","product":"Hashicorp Vault Enterprise <1.19.20","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2993"},{"vendor":"BSI","product":"Hashicorp Vault Enterprise <1.20.14","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2993"},{"vendor":"BSI","product":"Hashicorp Vault Enterprise <1.21.9","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2993"},{"vendor":"BSI","product":"Hashicorp Vault Enterprise <2.0.4","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2993"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"affected","packages":["odf4/cephcsi-rhel9","odf4/mcg-cli-rhel9","odf4/mcg-rhel9-operator","rhceph-dev/odf4-cephcsi-rhel9","rhceph-dev/odf4-mcg-cli-rhel9","rhceph-dev/odf4-mcg-rhel9-operator"],"package_count":6,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-5006"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-5006","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-5006","license":"CC-BY-4.0","published_at":"2026-08-24T20:32:49.396Z","modified_at":"2026-08-26T03:56:14.745Z","summary":"Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"CVE-2026-5006"}],"affected":[{"ecosystem":"CVE","package":"HashiCorp/Vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.11.0"},{"fixed":"2.0.4"}]}],"fixed":["2.0.4"],"provider":"cvelistv5","source":"CVE-2026-5006","relation":"self"},{"ecosystem":"CVE","package":"HashiCorp/Vault Enterprise","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.11.0"},{"fixed":"2.0.4"}]}],"fixed":["2.0.4"],"provider":"cvelistv5","source":"CVE-2026-5006","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2026-32-vault-vulnerable-to-privilege-escalation-via-slash-injection-in-templated-policy-paths"}]},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2993","relation":"self","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2993","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-08-24T22:00:00Z","modified_at":"2026-08-24T22:00:00Z","summary":"Hashicorp Vault: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen","details":"Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Hashicorp Vault ausnutzen, um Sicherheitsvorkehrungen zu umgehen.\n\nVault ist ein identitätsbasiertes System zur Verwaltung von Geheimnissen und Verschlüsselung.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2026-2993"}],"affected":[],"product_status":[{"vendor":"BSI","product":"Hashicorp Vault Community Edition <2.0.4","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2993"},{"vendor":"BSI","product":"Hashicorp Vault Enterprise <1.19.20","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2993"},{"vendor":"BSI","product":"Hashicorp Vault Enterprise <1.20.14","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2993"},{"vendor":"BSI","product":"Hashicorp Vault Enterprise <1.21.9","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2993"},{"vendor":"BSI","product":"Hashicorp Vault Enterprise <2.0.4","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2993"}],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2993.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2993"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2026-32-vault-vulnerable-to-privilege-escalation-via-slash-injection-in-templated-policy-paths/77678"}]},{"provider":"osv","source_id":"BIT-vault-2026-5006","relation":"self","url":"https://osv.dev/vulnerability/BIT-vault-2026-5006","license":"Apache-2.0","published_at":"2026-08-28T14:58:43.56Z","modified_at":"2026-08-28T15:45:36.688179Z","summary":"Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"BIT-vault-2026-5006"}],"affected":[{"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0.11.0"},{"fixed":"2.0.4"}]}],"fixed":["2.0.4"],"provider":"osv","source":"BIT-vault-2026-5006","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2026-32-vault-vulnerable-to-privilege-escalation-via-slash-injection-in-templated-policy-paths"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5006"}]},{"provider":"redhat-vex","source_id":"CVE-2026-5006","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-5006","license":"CC-BY-4.0","published_at":"2026-08-24T20:32:49.396Z","modified_at":"2026-09-24T16:24:30Z","summary":"Vault: Vault Enterprise: Vault: Privilege Escalation via Slash Injection in Templated Policy Paths","details":"A flaw was found in HashiCorp Vault. An authenticated attacker can manipulate identity values in templated policy paths by injecting slash characters. This manipulation allows Vault to misinterpret policy paths, leading to unintended access to Vault resources and potential privilege escalation.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"CVE-2026-5006"},{"type":"Red Hat","score":"Important","source":"CVE-2026-5006"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"affected","packages":["odf4/cephcsi-rhel9","odf4/mcg-cli-rhel9","odf4/mcg-rhel9-operator","rhceph-dev/odf4-cephcsi-rhel9","rhceph-dev/odf4-mcg-cli-rhel9","rhceph-dev/odf4-mcg-rhel9-operator"],"package_count":6,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-5006"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5006.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-5006"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2523131"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-5006"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5006"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2026-32-vault-vulnerable-to-privilege-escalation-via-slash-injection-in-templated-policy-paths"}]}],"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2026-32-vault-vulnerable-to-privilege-escalation-via-slash-injection-in-templated-policy-paths"},{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2993.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2993"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2026-32-vault-vulnerable-to-privilege-escalation-via-slash-injection-in-templated-policy-paths/77678"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5006"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5006.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-5006"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2523131"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-5006"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-5006","url":"https://www.cve.org/CVERecord?id=CVE-2026-5006","license":"CC-BY-4.0","modified_at":"2026-08-26T03:56:14.745Z","relation":"self"},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2993","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2993","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-08-24T22:00:00Z","relation":"self"},{"provider":"osv","source_id":"BIT-vault-2026-5006","url":"https://osv.dev/vulnerability/BIT-vault-2026-5006","license":"Apache-2.0","modified_at":"2026-08-28T15:45:36.688179Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-5006","url":"https://access.redhat.com/security/cve/CVE-2026-5006","license":"CC-BY-4.0","modified_at":"2026-09-24T16:24:30Z","relation":"self"}]}
