{"id":"CVE-2026-5051","aliases":["BIT-vault-2026-5051","WID-SEC-W-2026-2167"],"summary":"Audit Log Plugin Directory Guard Bypass via Legacy path Option","published_at":"2026-07-01T17:10:56.918Z","modified_at":"2026-07-07T09:15:05.055428Z","products":[{"slug":"vault","name":"HashiCorp Vault","category":"secrets"}],"rating":{"severity":"medium","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"BSI","rating":"niedrig"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0038399999029934406,"percentile":0.3318299949169159,"date":"2026-11-19T00:00:00Z"},"priority":5.4,"details":"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.","affected_stack":[{"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.19.0"},{"fixed":"1.19.17"},{"introduced":"1.20.0"},{"fixed":"1.20.11"},{"introduced":"1.21.0"},{"fixed":"1.21.6"},{"introduced":"2.0.0"},{"fixed":"2.0.1"}]}],"fixed":["1.19.17","1.20.11","1.21.6","2.0.1"],"provider":"osv","source":"BIT-vault-2026-5051","relation":"self"},{"ecosystem":"CVE","package":"HashiCorp/Vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.20.1"},{"fixed":"2.0.1"}]}],"fixed":["2.0.1"],"provider":"cvelistv5","source":"CVE-2026-5051","relation":"self"},{"ecosystem":"CVE","package":"HashiCorp/Vault Enterprise","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.19.0"},{"fixed":"2.0.1"}]}],"fixed":["2.0.1"],"provider":"cvelistv5","source":"CVE-2026-5051","relation":"self"}],"affected_other":[],"product_status":[{"vendor":"BSI","product":"Hashicorp Vault Community Edition <1.20.11","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2167"},{"vendor":"BSI","product":"Hashicorp Vault Community Edition <1.21.6","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2167"},{"vendor":"BSI","product":"Hashicorp Vault Community Edition <2.0.1","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2167"},{"vendor":"BSI","product":"Hashicorp Vault Enterprise <1.19.17","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2167"},{"vendor":"BSI","product":"Hashicorp Vault Enterprise <1.20.11","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2167"},{"vendor":"BSI","product":"Hashicorp Vault Enterprise <1.21.6","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2167"},{"vendor":"BSI","product":"Hashicorp Vault Enterprise <2.0.1","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2167"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-baremetal-installer-rhel9","openshift4/ose-installer-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-5051"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"not_affected","packages":["odf4/cephcsi-rhel9","odf4/mcg-cli-rhel9","odf4/mcg-rhel9-operator","odf4/odf-cli-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-5051"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-5051","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-5051","license":"CC-BY-4.0","published_at":"2026-07-01T17:10:56.918Z","modified_at":"2026-07-01T17:54:43.314Z","summary":"Audit Log Plugin Directory Guard Bypass via Legacy path Option","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","source":"CVE-2026-5051"}],"affected":[{"ecosystem":"CVE","package":"HashiCorp/Vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.20.1"},{"fixed":"2.0.1"}]}],"fixed":["2.0.1"],"provider":"cvelistv5","source":"CVE-2026-5051","relation":"self"},{"ecosystem":"CVE","package":"HashiCorp/Vault Enterprise","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.19.0"},{"fixed":"2.0.1"}]}],"fixed":["2.0.1"],"provider":"cvelistv5","source":"CVE-2026-5051","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2026-16-vault-audit-device-plugin-directory-guard-bypass-via-legacy-path-option/77536"}]},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2167","relation":"self","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2167","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-07-01T22:00:00Z","modified_at":"2026-07-01T22: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":"niedrig","source":"WID-SEC-W-2026-2167"}],"affected":[],"product_status":[{"vendor":"BSI","product":"Hashicorp Vault Community Edition <1.20.11","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2167"},{"vendor":"BSI","product":"Hashicorp Vault Community Edition <1.21.6","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2167"},{"vendor":"BSI","product":"Hashicorp Vault Community Edition <2.0.1","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2167"},{"vendor":"BSI","product":"Hashicorp Vault Enterprise <1.19.17","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2167"},{"vendor":"BSI","product":"Hashicorp Vault Enterprise <1.20.11","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2167"},{"vendor":"BSI","product":"Hashicorp Vault Enterprise <1.21.6","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2167"},{"vendor":"BSI","product":"Hashicorp Vault Enterprise <2.0.1","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2167"}],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2167.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2167"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2026-16-vault-audit-device-plugin-directory-guard-bypass-via-legacy-path-option/77536"}]},{"provider":"osv","source_id":"BIT-vault-2026-5051","relation":"self","url":"https://osv.dev/vulnerability/BIT-vault-2026-5051","license":"Apache-2.0","published_at":"2026-07-07T08:54:58.835Z","modified_at":"2026-07-07T09:15:05.055428Z","summary":"Audit Log Plugin Directory Guard Bypass via Legacy path Option","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","source":"BIT-vault-2026-5051"}],"affected":[{"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.19.0"},{"fixed":"1.19.17"},{"introduced":"1.20.0"},{"fixed":"1.20.11"},{"introduced":"1.21.0"},{"fixed":"1.21.6"},{"introduced":"2.0.0"},{"fixed":"2.0.1"}]}],"fixed":["1.19.17","1.20.11","1.21.6","2.0.1"],"provider":"osv","source":"BIT-vault-2026-5051","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2026-16-vault-audit-device-plugin-directory-guard-bypass-via-legacy-path-option/77536"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5051"}]},{"provider":"redhat-vex","source_id":"CVE-2026-5051","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-5051","license":"CC-BY-4.0","published_at":"2026-07-01T17:10:56.918Z","modified_at":"2026-07-01T20:30:33Z","summary":"Vault: Vault Enterprise: HashiCorp Vault: Audit device validation bypass via legacy file audit path option","details":"A flaw was found in HashiCorp Vault and Vault Enterprise. The audit device validation logic did not consistently apply plugin directory protections when a legacy file audit path option was used. This inconsistency could allow an attacker to bypass security controls, potentially leading to unauthorized access to sensitive information.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","source":"CVE-2026-5051"},{"type":"Red Hat","score":"Moderate","source":"CVE-2026-5051"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-baremetal-installer-rhel9","openshift4/ose-installer-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-5051"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"not_affected","packages":["odf4/cephcsi-rhel9","odf4/mcg-cli-rhel9","odf4/mcg-rhel9-operator","odf4/odf-cli-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-5051"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5051.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-5051"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2496100"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-5051"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5051"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2026-16-vault-audit-device-plugin-directory-guard-bypass-via-legacy-path-option/77536"}]}],"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2026-16-vault-audit-device-plugin-directory-guard-bypass-via-legacy-path-option/77536"},{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2167.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2167"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5051"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5051.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-5051"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2496100"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-5051"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-5051","url":"https://www.cve.org/CVERecord?id=CVE-2026-5051","license":"CC-BY-4.0","modified_at":"2026-07-01T17:54:43.314Z","relation":"self"},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2167","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2167","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-07-01T22:00:00Z","relation":"self"},{"provider":"osv","source_id":"BIT-vault-2026-5051","url":"https://osv.dev/vulnerability/BIT-vault-2026-5051","license":"Apache-2.0","modified_at":"2026-07-07T09:15:05.055428Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-5051","url":"https://access.redhat.com/security/cve/CVE-2026-5051","license":"CC-BY-4.0","modified_at":"2026-07-01T20:30:33Z","relation":"self"}]}
