HashiCorp Vault Audit Plugin Directory Protections Flaw (pre-2.0.1)
CVE-2026-5051 Published on July 1, 2026

Audit Log Plugin Directory Guard Bypass via Legacy path Option
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.

NVD

Vulnerability Analysis

Exploitation:
NONE
Automatable:
NO
Technical Impact:
PARTIAL

Weakness Type

What is a Directory traversal Vulnerability?

The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

CVE-2026-5051 has been classified to as a Directory traversal vulnerability or weakness.


Products Associated with CVE-2026-5051

Want to know whenever a new CVE is published for HashiCorp Vault? stack.watch will email you.

Affected Versions

HashiCorp Vault: HashiCorp Vault Enterprise:

Exploit Probability

EPSS
0.38%
Percentile
32.99%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.