Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-57442— MCPVault: PathFilter restricted directories (.git/.obsidian/node_modules) only denied at vault root, not nested

Quick assessment

Affected
bitbonsai mcpvault
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

MCPVault 是一个轻量级的模型上下文协议(Model Context Protocol)服务器,用于安全地访问 Obsidian 库中的文件。在 0.11.5 版本之前,位于 中的 PathFilter 使用了基于根锚定的拒绝列表模式,因此嵌套的 、 和 路径段无法匹配到限制规则,从而通过了 和 检查。若攻击者能够影响由 AI 代理选定的路径,便可能遍历嵌套的仓库或 Obsidian 元数据,读取远程 URL 或嵌入的令牌,或者导致嵌套的 内容污染 索引。该问题已在 0.11.5 版本中修复。

CVSS 6.9 · Medium

Affected Version Matrix 1

VendorProduct Version RangeStatus
bitbonsai mcpvault < 0.11.5 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-57442

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
MCPVault: PathFilter restricted directories (.git/.obsidian/node_modules) only denied at vault root, not nested
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
bitbonsai mcpvault < 0.11.5 -

II. Public POCs for CVE-2026-57442

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-57442

登录查看更多情报信息。

Patches & Fixes for CVE-2026-57442 (2)

Vendor Advisories for CVE-2026-57442 (1)

Other References for CVE-2026-57442 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-57442

No comments yet


Leave a comment