CVE-2026-5051

published 1 Jul 2026 · updated 1 Jul 2026

Audit Log Plugin Directory Guard Bypass via Legacy path Option

4.4MediumCVSS 4.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Vault 2.0.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
HashiCorpVault>=1.19.0 <2.0.1, >=1.20.1 <2.0.12.0.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in HashiCorp, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-5051 severity on Zeptric[![CVE-2026-5051](https://zeptric.io/badge/cve/CVE-2026-5051.svg)](https://zeptric.io/cve/CVE-2026-5051)