CVE-2026-57442: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in bitbonsai mcpvault
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.
AI Analysis
Technical Summary
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.
CVE-2026-57442: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in bitbonsai 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
Affected software
bitbonsai
mcpvault
pkg:github/bitbonsai/mcpvaultRun 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.