{"schemaVersion":3,"id":"CVE-2026-5051","aliases":["CGA-23qf-rhq6-3fch","CGA-6jq8-j7q3-7885","CGA-pf48-9x9r-2q4m","CGA-68cc-3cjh-rpmx","CGA-7364-92x6-fmjr","CGA-8xqc-vvxm-f2fm","CGA-cm6r-2rv5-9c7w","CGA-cx9w-rq2c-fqfw","CGA-h8qq-fg9m-5c4p","CGA-j3j7-xw9f-433x","CGA-r5vv-gjjg-cfmj","CGA-vfcc-3c3x-x3qf","CGA-wppp-x2jf-7j39"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-07-01T17:10:56.918Z","modified":"2026-07-01T17:54:43.314Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","exploitability":1.8,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","exploitability":1.8,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00384,"percentile":0.31183,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00384},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00384,"percentile":0.31183}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00384,"percentile":0.31183}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"chainguard","product":"splunk-otel-collector","name":"splunk-otel-collector","label":"splunk-otel-collector","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/splunk-otel-collector","purlType":"apk","versions":[{"text":"< 0.157.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.157.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"splunk-otel-collector-compat","name":"splunk-otel-collector-compat","label":"splunk-otel-collector-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/splunk-otel-collector-compat","purlType":"apk","versions":[{"text":"< 0.160.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.160.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"splunk-otel-collector-fips","name":"splunk-otel-collector-fips","label":"splunk-otel-collector-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/splunk-otel-collector-fips","purlType":"apk","versions":[{"text":"< 0.157.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.157.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vault-1.19","name":"vault-1.19","label":"vault-1.19","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vault-1.19","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vault-1.20","name":"vault-1.20","label":"vault-1.20","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vault-1.20","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vault-1.21","name":"vault-1.21","label":"vault-1.21","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vault-1.21","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vault-fips-1.21","name":"vault-fips-1.21","label":"vault-fips-1.21","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vault-fips-1.21","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"splunk-otel-collector","name":"splunk-otel-collector","label":"splunk-otel-collector","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/splunk-otel-collector","purlType":"apk","versions":[{"text":"< 0.157.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.157.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"splunk-otel-collector-compat","name":"splunk-otel-collector-compat","label":"splunk-otel-collector-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/splunk-otel-collector-compat","purlType":"apk","versions":[{"text":"< 0.160.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.160.0-r0","eol":null,"hubHref":null},{"vendor":"hashicorp","product":"vault","name":"vault","label":"vault","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.20.1, < 2.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.20.1, < 2.0.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"hashicorp-vault","label":"Hashicorp Vault","category":"server-app"}},"hubHref":"/vendor/hashicorp/vault"},{"vendor":"hashicorp","product":"vault enterprise","name":"Vault Enterprise","label":"vault enterprise","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.19.0, < 2.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.19.0, < 2.0.1","eol":null,"hubHref":"/vendor/hashicorp/vault_enterprise"}],"affectedCount":11,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2026-16-vault-audit-device-plugin-directory-guard-bypass-via-legacy-path-option/77536","label":"discuss.hashicorp.com/t/…","hostname":"discuss.hashicorp.com","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5051.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5051.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5051","label":"nvd.nist.gov/vuln/detail/CVE-2026-5051","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/hashicorp/vault","label":"github.com/hashicorp/vault","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-3VQR-3R97-8WXX"]},"timeline":[{"kind":"published","date":"2026-07-01T17:10:56.918Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-01T17:54:43.314Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":18,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T22:27:02.623Z","stale":false,"partial":false}}