Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Vault API with high-privilege credentials
-
DeliveryCreate or modify file audit device using legacy path option
-
ExploitSupply path traversal sequences in audit path field
-
ExecutionBypass plugin directory guard in validation logic
-
ImpactRead 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
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.
Primary rating from Vendor (HashiCorp).
CVSS VectorVendor: HashiCorp
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Vault and Vault Enterprise (“Vault”) may expose sensitive information when enabling an audit device which specifies the
Vault and Vault Enterprise (“Vault”) TLS certificate auth method did not correctly validate client certificates when con
The official vault docker images before 0.11.6 contain a blank password for a root user. Rated critical severity (CVSS 9
HashiCorp Vault and Vault Enterprise 1.4.0 and 1.4.1, when configured with the GCP Secrets Engine, may incorrectly gener
An issue was discovered in HashiCorp Vault and Vault Enterprise before 1.11.3. Rated critical severity (CVSS 9.1), this
HashiCorp Vault Enterprise 1.7.0 through 1.9.7, 1.10.4, and 1.11.0 clusters using Integrated Storage expose an unauthent
HashiCorp Vault and Vault Enterprise versions 0.11.0 through 1.3.3 may, under certain circumstances, have existing neste
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
Vault’s SSH secrets engine did not require the valid_principals list to contain a value by default. Rated high severity
HashiCorp Vault and Vault Enterprise versions 0.8.3 and newer, when configured with the GCP GCE auth method, may be vuln
HashiCorp Vault and Vault Enterprise versions 0.7.1 and newer, when configured with the AWS IAM auth method, may be vuln
HashiCorp Vault's KVv2 secrets engine allows authenticated users with glob-based policy access to delete secrets outside
EUVD-2026-41098
GHSA-rx9v-2fjr-mhx5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB