{"answers":{"affected":"1 open source package ship an affected version, including vault.","exploited":"There is no known exploitation of CVE-2026-5051 in the wild and no public exploit code.","fix":"Upgrade vault to a fixed version for your release line: 1.19.17, 1.20.11, 1.21.6 or 2.0.1.","what":"CVE-2026-5051 is a medium-severity path traversal vulnerability in HashiCorp Vault, published on 1 Jul 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-5051 and fix it if it is affected.\n\nWhat it is: CVE-2026-5051 is a medium-severity path traversal vulnerability in HashiCorp Vault, published on 1 Jul 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-5051 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- vault (Bitnami): affected from 1.19.0; fixed in 1.19.17, 1.20.11, 1.21.6, 2.0.1\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-5051/ (Markdown: https://insights.sbomify.com/CVE-2026-5051/index.md)","id":"CVE-2026-5051","markdown":"https://insights.sbomify.com/CVE-2026-5051/index.md","name":"CVE-2026-5051","record":{"aliases":["BIT-vault-2026-5051","GHSA-rx9v-2fjr-mhx5","MINI-hp79-92qg-7w3q"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"HashiCorp Vault","requires_auth":"high_privilege","summary":"Attackers can bypass audit log plugin directory protections using the legacy file audit path option, potentially circumventing security controls.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"HashiCorp","cpe":[],"cvss":{"score":4.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"HashiCorp Vault and Vault Enterprise prior to 2.0.1 audit device validation logic did not consistently apply plugin directory protections when the legacy file audit path option was used. \n\nThis vulnerability (CVE-2026-5051) is fixed in 2.0.1, 1.21.6, 1.20.11, and 1.19.17.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Audit Log Plugin Directory Guard Bypass via Legacy path Option","id":"CVE-2026-5051","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":1,"n_references":1,"next":{"headline":"Vault Vulnerable to Server-Side Request Forgery in ACME Challenge Validation via Attacker-Controlled DNS","id":"CVE-2026-5052"},"packages":[{"ecosystem":"Bitnami","fixed":["1.19.17","1.20.11","1.21.6","2.0.1"],"introduced":["1.19.0","1.20.0","1.21.0","2.0.0"],"last_affected":[],"package":"vault","purl":"pkg:bitnami/vault","source":"BIT-vault-2026-5051"}],"prev":{"headline":"Security feature bypass in Payment Gateway for Redsys \u0026 WooCommerce Lite","id":"CVE-2026-5050"},"products":["Vault","Vault Enterprise"],"published":"2026-07-01","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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-01","vendors":["HashiCorp"]},"summary":"Attackers can bypass audit log plugin directory protections using the legacy file audit path option, potentially circumventing security controls.","url":"https://insights.sbomify.com/CVE-2026-5051/"}