{"answers":{"affected":"1 open source package ship an affected version, including vault.","exploited":"There is no known exploitation of CVE-2026-5006 in the wild and no public exploit code.","fix":"Upgrade vault to 2.0.4 or later.","what":"CVE-2026-5006 is a medium-severity vulnerability in HashiCorp Vault, published on 24 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-5006 and fix it if it is affected.\n\nWhat it is: CVE-2026-5006 is a medium-severity vulnerability in HashiCorp Vault, published on 24 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-5006 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- vault (Bitnami): affected from 0.11.0; fixed in 2.0.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-5006/ (Markdown: https://insights.sbomify.com/CVE-2026-5006/index.md)","id":"CVE-2026-5006","markdown":"https://insights.sbomify.com/CVE-2026-5006/index.md","name":"CVE-2026-5006","record":{"aliases":["BIT-vault-2026-5006","GHSA-5h48-5rrm-m3c8","MINI-jw35-qv72-pw83"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"HashiCorp Vault","requires_auth":"low_privilege","summary":"Authenticated attackers can escalate privileges and access unauthorized paths by injecting slashes into templated policy paths in HashiCorp Vault.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"HashiCorp","cpe":[],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"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 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.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":"2026-09-02","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-09-02T22:59:08Z","kind":"github_poc","ref":"https://github.com/tcollins-hashicorp/vault-cve-2026-5006-audit","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths","id":"CVE-2026-5006","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"privilege_escalation","year":"2026"},"n_packages":1,"n_references":1,"next":{"headline":"kazuph mcp-docs-rag add_git_repository/add_text_file index.ts cloneRepository os command injection","id":"CVE-2026-5007"},"packages":[{"ecosystem":"Bitnami","fixed":["2.0.4"],"introduced":["0.11.0"],"last_affected":[],"package":"vault","purl":"pkg:bitnami/vault","source":"BIT-vault-2026-5006"}],"prev":{"headline":"Stored XSS in Twiser's OKRs \u0026 Goals","id":"CVE-2026-5005"},"products":["Vault","Vault Enterprise"],"published":"2026-08-24","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-26","vendors":["HashiCorp"]},"summary":"Authenticated attackers can escalate privileges and access unauthorized paths by injecting slashes into templated policy paths in HashiCorp Vault.","url":"https://insights.sbomify.com/CVE-2026-5006/"}