{"id":"CVE-2026-5051","state":"PUBLISHED","title":"Audit Log Plugin Directory Guard Bypass via Legacy path Option","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.","publishedAt":"2026-07-01T17:10:56.918Z","updatedAt":"2026-07-01T17:54:43.314Z","severity":{"score":4.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","source":"HashiCorp"},"assigner":"HashiCorp","products":["HashiCorp Vault","HashiCorp Vault Enterprise"],"affected":[{"vendor":"HashiCorp","product":"Vault","defaultStatus":"unaffected","versions":[{"version":"1.20.1","status":"affected","lessThan":"2.0.1","changes":[{"at":"1.20.11","status":"unaffected"},{"at":"1.21.6","status":"unaffected"},{"at":"2.0.1","status":"unaffected"}],"versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"repo":"https://github.com/hashicorp/vault"},{"vendor":"HashiCorp","product":"Vault Enterprise","defaultStatus":"unaffected","versions":[{"version":"1.19.0","status":"affected","lessThan":"2.0.1","changes":[{"at":"1.19.17","status":"unaffected"},{"at":"1.20.11","status":"unaffected"},{"at":"1.21.6","status":"unaffected"},{"at":"2.0.1","status":"unaffected"}],"versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"repo":"https://github.com/hashicorp/vault"}],"references":["https://discuss.hashicorp.com/t/hcsec-2026-16-vault-audit-device-plugin-directory-guard-bypass-via-legacy-path-option/77536"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/5xxx/CVE-2026-5051.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-5051","state":"PUBLISHED","datePublished":"2026-07-01T17:10:56.918Z","dateUpdated":"2026-07-01T17:54:43.314Z","assignerShortName":"HashiCorp","assignerOrgId":"67fedba0-ff2e-4543-ba5b-aa93e87718cc","dateReserved":"2026-03-27T17:45:14.081Z"},"containers":{"cna":{"title":"Audit Log Plugin Directory Guard Bypass via Legacy path Option","descriptions":[{"lang":"en","value":"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":[{"vendor":"HashiCorp","product":"Vault","defaultStatus":"unaffected","versions":[{"version":"1.20.1","status":"affected","lessThan":"2.0.1","changes":[{"at":"1.20.11","status":"unaffected"},{"at":"1.21.6","status":"unaffected"},{"at":"2.0.1","status":"unaffected"}],"versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"repo":"https://github.com/hashicorp/vault"},{"vendor":"HashiCorp","product":"Vault Enterprise","defaultStatus":"unaffected","versions":[{"version":"1.19.0","status":"affected","lessThan":"2.0.1","changes":[{"at":"1.19.17","status":"unaffected"},{"at":"1.20.11","status":"unaffected"},{"at":"1.21.6","status":"unaffected"},{"at":"2.0.1","status":"unaffected"}],"versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"repo":"https://github.com/hashicorp/vault"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2026-16-vault-audit-device-plugin-directory-guard-bypass-via-legacy-path-option/77536"}],"metrics":[{"cvssV3_1":{"baseScore":4.4,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory (Path Traversal)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"HashiCorp","orgId":"67fedba0-ff2e-4543-ba5b-aa93e87718cc","dateUpdated":"2026-07-01T17:10:56.918Z"},"credits":[{"lang":"en","value":"This issue was identified and reported by Vipin Chaudhary."}],"impacts":[{"capecId":"CAPEC-126","descriptions":[{"lang":"en","value":"CAPEC-126: Path Traversal"}]}],"source":{"advisory":"HCSEC-2026-16","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-01T17:54:21.733151Z","id":"CVE-2026-5051","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-01T17:54:43.314Z"}}]}}}