# CVE-2026-5051: Audit Log Plugin Directory Guard Bypass via Legacy path Option

- Severity: Medium 4.4 (CVSS:3.1, scored by HashiCorp) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-07-01T17:10:56.918Z
- Modified: 2026-07-07T09:15:05.055Z
- Also known as: BIT-VAULT-2026-5051
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: HashiCorp

## 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. 

This vulnerability (CVE-2026-5051) is fixed in 2.0.1, 1.21.6, 1.20.11, and 1.19.17.

(As written by CVE List.)

## Affected

- HashiCorp Vault: from 1.20.1 before 2.0.1
- HashiCorp Vault Enterprise: from 1.19.0 before 2.0.1
- vault (Bitnami): from 1.19.0 before 1.19.17; from 1.20.0 before 1.20.11; from 1.21.0 before 1.21.6; from 2.0.0 before 2.0.1

## Every score

- HashiCorp: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://discuss.hashicorp.com/t/hcsec-2026-16-vault-audit-device-plugin-directory-guard-bypass-via-legacy-path-option/77536> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-5051> (web)

## Sources

- CVE List: [CVE-2026-5051](https://www.cve.org/CVERecord?id=CVE-2026-5051), CVE Terms of Use, modified 2026-07-01
- NVD: [CVE-2026-5051](https://nvd.nist.gov/vuln/detail/CVE-2026-5051), Public domain, modified 2026-07-02
- Bitnami Vulnerability Database: [BIT-VAULT-2026-5051](https://osv.dev/vulnerability/BIT-VAULT-2026-5051), Apache-2.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2026-5051 · Whole record: https://cve.day/CVE-2026-5051.json · Rebuilt by cve.day 2026-11-25T22:59:26.945Z
