What’s Vulnerable › Vulnerabilities
CVE-2026-5051: Audit Log Plugin Directory Guard Bypass via Legacy path Option
- Severity: medium (CVSS 4.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-01 · updated 2026-07-02
- Weakness: CWE-22
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.
Affected products
- HashiCorp Vault: from 1.20.1 before 2.0.1; from 1.19.0 before 2.0.1 — fixed in 2.0.1
How to fix
Upgrade to a fixed version: HashiCorp Vault 2.0.1. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-5051 or the next vulnerability affects your stack