{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "1.20.1"
              },
              {
                "fixed": "2.0.1"
              },
              {
                "introduced": "1.19.0"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "b403b1a27c8db6038ffefb296d7be0962e08039d"
            },
            {
              "fixed": "1a56927a170e2c67fa60a71158a3607d072a58a7"
            },
            {
              "introduced": "7eeafb6160d60ede73c1d95566b0c8ea54f3cb5a"
            },
            {
              "fixed": "1a56927a170e2c67fa60a71158a3607d072a58a7"
            }
          ],
          "repo": "https://github.com/hashicorp/vault",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "HashiCorp",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5051.json"
  },
  "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.",
  "id": "CVE-2026-5051",
  "modified": "2026-07-15T01:49:09.539566124Z",
  "published": "2026-07-01T17:10:56.918Z",
  "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": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5051.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-5051"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/hashicorp/vault"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Audit Log Plugin Directory Guard Bypass via Legacy path Option"
}