Skip to main content

HashiCorp Vault CVE-2026-5051

| EUVDEUVD-2026-41098 MEDIUM
Path Traversal (CWE-22)
2026-07-01 HashiCorp GHSA-rx9v-2fjr-mhx5
4.4
CVSS 3.1 · Vendor: HashiCorp
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Vault API with high-privilege credentials
  2. Delivery
    Create or modify file audit device using legacy path option
  3. Exploit
    Supply path traversal sequences in audit path field
  4. Execution
    Bypass plugin directory guard in validation logic
  5. Impact
    Read files outside the intended plugin directory boundary

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three concurrent conditions: (1) the attacker must possess high-privilege Vault credentials sufficient to configure audit devices - PR:H per the CVSS vector; (2) the Vault deployment must be using the legacy file audit path option for an audit device, which is a non-default configuration; and (3) the attacker must reach the Vault API over the network (AV:N), though AC:H indicates additional complexity in reliably triggering the bypass. Exploitation is limited by the need for high administrative privilege and the non-default legacy path option - environments that have never configured a legacy file audit device are not exposed. There is no user interaction required once these conditions are met.

Impact

The CVSS 3.1 score of 4.4 (Medium) reflects high attack complexity and high privilege requirements, which significantly constrain real-world exploitability. The vector AV:N/AC:H/PR:H confirms this is only reachable by an already-authenticated, highly privileged Vault operator over the network - not an opportunistic external attacker. The high confidentiality impact (C:H) is the most serious signal, suggesting that file contents outside the plugin directory could be exposed. EPSS data was not provided, and no KEV listing or public POC is present, which is consistent with the high barrier to exploitation. The practical risk is elevated primarily in environments where Vault admins are untrusted or where insider threat is a concern, and where the legacy file audit path option is in active use - a non-default condition. Overall, this is a real but narrowly exploitable privilege-escalation-adjacent path traversal: defenders should prioritize patching environments using the legacy audit path configuration and audit admin-level access to Vault.

Exploit ScenarioDerived

A malicious or compromised Vault administrator authenticates to the Vault API with high-privilege credentials and creates or modifies a file audit device, supplying a path containing traversal sequences (e.g., '../../etc/passwd') via the legacy file audit path option. Because the plugin directory guard is not consistently enforced on this legacy code path, Vault processes the traversal, exposing file content outside the plugin directory. No public POC has been identified, but the attack primitive is straightforward for any actor with the required admin credentials.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 01, 2026

Plugin directory guard bypass in HashiCorp Vault and Vault Enterprise allows a highly privileged, authenticated attacker to read files outside the intended audit plugin directory via path traversal. Exploitation requires network access, high-privilege credentials, and the use of the legacy file audit path option - a non-default configuration. Fixed versions are 2.0.1, 1.21.6, 1.20.11, and 1.19.17; no public exploit or active exploitation (CISA KEV) has been identified at time of analysis.

RemediationAI

The primary fix is to upgrade HashiCorp Vault or Vault Enterprise to one of the patched releases: 2.0.1, 1.21.6, 1.20.11, or 1.19.17, as confirmed by HashiCorp's security advisory at https://discuss.hashicorp.com/t/hcsec-2026-16-vault-audit-device-plugin-directory-guard-bypass-via-legacy-path-option/77536. As an interim workaround, operators should migrate any audit device configurations away from the legacy file audit path option to the current (non-legacy) path mechanism, which correctly enforces plugin directory protections. If the legacy path option cannot be immediately disabled, restrict Vault admin-level credentials to a minimal, audited set of operators to reduce the privilege-abuse surface. Note that disabling the audit device entirely would eliminate audit logging, which is itself a security regression and not recommended.

Affected VersionsENISA

Vault 1.20.1 <2.0.1
Vault Enterprise 1.19.0 <2.0.1

Affected Packages

euvd vault fix: 2.0.1
euvd vault_enterprise fix: 2.0.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

HashiCorp Vault (CPE: cpe:2.3:a:hashicorp:vault:*:*:*:*:*:*:*:* and cpe:2.3:a:hashicorp:vault_enterprise:*:*:*:*:*:*:*:*) implements audit devices to log all API requests and responses. A plugin directory protection mechanism is intended to restrict where file audit paths may resolve, preventing writes or reads outside a controlled directory. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory - Path Traversal) is the root cause: the audit device validation logic failed to consistently enforce these directory boundary checks when the legacy file audit path option was used, as opposed to the current, non-legacy path handling. This means that path traversal sequences (e.g., '../') supplied in the legacy audit path could escape the plugin directory sandbox.

Know when Vault gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (HashiCorp) PRIMARY 4.4 MEDIUM
AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 4.4 MEDIUM

Requires high-privilege credentials and non-default legacy audit path configuration (AC:H, PR:H); confidentiality impact from path traversal read with no integrity or availability effect.

3.1 AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 4.4 MEDIUM

Primary rating from Vendor (HashiCorp).

CVSS VectorVendor: HashiCorp

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Jul 01, 2026 - 19:02 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
High
widely deployed enterprise secrets management platform across cloud-native environments
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Vault

View all
CVE-2024-0831 MEDIUM POC
6.5 Feb 01

Vault and Vault Enterprise (“Vault”) may expose sensitive information when enabling an audit device which specifies the

CVE-2024-2048 CRITICAL
9.8 Mar 04

Vault and Vault Enterprise (“Vault”) TLS certificate auth method did not correctly validate client certificates when con

CVE-2020-35192 CRITICAL
9.8 Dec 17

The official vault docker images before 0.11.6 contain a blank password for a root user. Rated critical severity (CVSS 9

CVE-2020-12757 CRITICAL
9.8 Jun 10

HashiCorp Vault and Vault Enterprise 1.4.0 and 1.4.1, when configured with the GCP Secrets Engine, may incorrectly gener

CVE-2022-40186 CRITICAL
9.1 Sep 22

An issue was discovered in HashiCorp Vault and Vault Enterprise before 1.11.3. Rated critical severity (CVSS 9.1), this

CVE-2022-36129 CRITICAL
9.1 Jul 26

HashiCorp Vault Enterprise 1.7.0 through 1.9.7, 1.10.4, and 1.11.0 clusters using Integrated Storage expose an unauthent

CVE-2020-10661 CRITICAL
9.1 Mar 23

HashiCorp Vault and Vault Enterprise versions 0.11.0 through 1.3.3 may, under certain circumstances, have existing neste

CVE-2026-4525 HIGH
8.8 Apr 17

Token leakage in HashiCorp Vault and Vault Enterprise (0.11.2 up to 2.0.0, 1.21.5, 1.20.10, and 1.19.16) occurs when an

CVE-2024-7594 HIGH
8.8 Sep 26

Vault’s SSH secrets engine did not require the valid_principals list to contain a value by default. Rated high severity

CVE-2020-16251 HIGH
8.2 Aug 26

HashiCorp Vault and Vault Enterprise versions 0.8.3 and newer, when configured with the GCP GCE auth method, may be vuln

CVE-2020-16250 HIGH
8.2 Aug 26

HashiCorp Vault and Vault Enterprise versions 0.7.1 and newer, when configured with the AWS IAM auth method, may be vuln

CVE-2026-3605 HIGH
8.1 Apr 17

HashiCorp Vault's KVv2 secrets engine allows authenticated users with glob-based policy access to delete secrets outside

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy