Skip to main content

CVE-2026-57442: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in bitbonsai mcpvault

0
Medium
VulnerabilityCVE-2026-57442cvecve-2026-57442cwe-22cwe-538
Published: 09/15/2026 (09/15/2026, 17:50:48 UTC)
Source: CVE Database V5
Vendor/Project: bitbonsai
Product: mcpvault

Description

MCPVault is a lightweight Model Context Protocol server for safe access to files in an Obsidian vault. Prior to 0.11.5, PathFilter in src/pathfilter.ts uses root-anchored deny-list patterns, so nested .git, .obsidian, and node_modules path segments do not match the restriction and pass both isAllowed() and isAllowedForListing(). An attacker who influences a path selected by an AI agent can traverse nested repository or Obsidian metadata, read remote URLs or embedded tokens, or cause nested node_modules content to pollute the listAllTags index. This issue is fixed in version 0.11.5.

CVSS v4.0

Score 6.9medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Affected software

bitbonsai

mcpvault

Affected versions
<0.11.5
GitHub Actionsmore threats →ai
bitbonsai/mcpvault
pkg:github/bitbonsai/mcpvault
Affected versions
<0.11.5

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: 09/15/2026, 18:17:26 UTC

Technical Analysis

MCPVault versions before 0.11.5 contain a path traversal vulnerability (CWE-22) due to improper limitation of pathnames in the PathFilter implementation. The deny-list patterns are root-anchored and do not match nested directory segments such as .git, .obsidian, and node_modules, allowing these paths to bypass the isAllowed() and isAllowedForListing() checks. An attacker influencing AI-selected paths can traverse into nested repository or Obsidian metadata, read remote URLs or embedded tokens, or cause nested node_modules content to contaminate the listAllTags index. This vulnerability is addressed by updating to version 0.11.5.

Potential Impact

An attacker with the ability to influence paths selected by an AI agent can exploit this vulnerability to access restricted directories and files within nested .git, .obsidian, and node_modules folders. This can lead to unauthorized disclosure of sensitive metadata, remote URLs, embedded tokens, or pollution of internal indexing mechanisms. The CVSS 4.0 score of 6.9 reflects a medium severity with local attack vector, low attack complexity, no privileges required, and high impact on confidentiality.

Mitigation Recommendations

Upgrade to bitbonsai mcpvault version 0.11.5 or later, where the path traversal issue has been fixed. No other mitigation is indicated by the vendor advisory. Patch status is confirmed fixed in 0.11.5.

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
GitHub_M
Date Reserved
2026-06-24T13:21:20.729Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aa9882355bf5e2cf52fe311

Added to database: 09/15/2026, 18:02:11 UTC

Last enriched: 09/15/2026, 18:17:26 UTC

Last updated: 09/16/2026, 02:20:25 UTC

Views: 9

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