CVE-2026-5051

Audit Log Plugin Directory Guard Bypass via Legacy path Option

State
Published
Severity
4.4 Medium
Published
Jul 1, 2026
Updated
Jul 1, 2026
Reserved
Mar 27, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.4 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:NHashiCorp

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path Traversal)

Affected Products

ProductVersions
VaultHashiCorp
  • 1.20.1 to before 2.0.1Affectedfrom 1.20.11Not affectedfrom 1.21.6Not affectedfrom 2.0.1Not affected
Vault EnterpriseHashiCorp
  • 1.19.0 to before 2.0.1Affectedfrom 1.19.17Not affectedfrom 1.20.11Not affectedfrom 1.21.6Not affectedfrom 2.0.1Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.