Improper access control in Vault Enterprise and Vault - CVE-2026-5051
Published: July 2, 2026
Vulnerability details
The vulnerability allows a local user to bypass intended protections against writing audit output into sensitive plugin paths.
The vulnerability exists due to improper access control in the file audit device validation logic when using the legacy path audit option. A local user can configure a file audit device with only the legacy path option to bypass intended protections against writing audit output into sensitive plugin paths.
Only instances with a configured plugin directory are vulnerable.
Affected software
Vault
How to mitigate CVE-2026-5051
Vault - addressed in versions 1.19.17, 1.20.11, 1.21.6, 2.0.1