Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-5051: CWE-22: Improper Limitation of a Pathname to a Restricted Directory (Path Traversal) in HashiCorp Vault

0
Medium
VulnerabilityCVE-2026-5051cvecve-2026-5051cwe-22
Published: 07/01/2026 (07/01/2026, 17:10:56 UTC)
Source: CVE Database V5
Vendor/Project: HashiCorp
Product: Vault

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.

CVSS v3.1

Score 4.4medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N

Affected software

GitHub Actionsmore threats →cve
Vault
pkg:github/Vault
Affected versions
>=1.20.1 <2.0.1
GitHub Actionsmore threats →cve
Vault Enterprise
pkg:github/Vault Enterprise
Affected versions
>=1.19.0 <2.0.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/01/2026, 18:06:31 UTC

Technical Analysis

HashiCorp Vault versions prior to 2.0.1 contain a CWE-22 path traversal vulnerability in the audit device validation logic. Specifically, when the legacy file audit path option is used, the plugin directory protections are not consistently applied, allowing an attacker with high privileges to access files outside the restricted directory. This vulnerability has a CVSS 3.1 base score of 4.4, indicating medium severity, with network attack vector, high attack complexity, and requiring high privileges but no user interaction. The vulnerability is addressed in Vault versions 2.0.1, 1.21.6, 1.20.11, and 1.19.17.

Potential Impact

An attacker with high privileges on the system can exploit this vulnerability to read files outside the intended plugin directory, potentially exposing sensitive information. The vulnerability does not impact integrity or availability, only confidentiality. No known exploits are reported in the wild.

Mitigation Recommendations

This vulnerability is fixed in HashiCorp Vault versions 2.0.1, 1.21.6, 1.20.11, and 1.19.17. Users should upgrade to one of these versions or later to remediate the issue. Patch status is confirmed by the vendor advisory. No additional mitigations are specified.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
HashiCorp
Date Reserved
2026-03-27T17:45:14.081Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4553d327e9c79719e35e8c

Added to database: 07/01/2026, 17:52:19 UTC

Last enriched: 07/01/2026, 18:06:31 UTC

Last updated: 07/01/2026, 18:48:45 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses