Skip to main content
← All vulnerabilities
CVE-2026-57441GHSA-J99Q-93C9-H869

MCPVault: PathFilter restricted-directory deny-list bypass via case and trailing dot/space equivalence

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.11.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

MCPVault is a lightweight Model Context Protocol server for safe access to files in an Obsidian vault. Prior to 0.11.4, PathFilter in src/pathfilter.ts compiles restricted-directory patterns case-sensitively and compares paths without canonicalizing filesystem-equivalent segment names. On case-insensitive macOS and Windows filesystems, case variants of .git, .obsidian, or node_modules pass both isAllowed() and isAllowedForListing() even though the operating system opens the restricted directory, and Windows trailing dots or spaces provide the same bypass. An attacker who influences a path selected by an AI agent can use the bypass in read, write, move, search, or listing operations to expose or modify sensitive repository and Obsidian metadata. Vault-root .. containment is not affected. This issue is fixed in version 0.11.4.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • bitbonsai mcpvault

    fixed in 0.11.4

  • @bitbonsai/mcpvaultnpm

    fixed in 0.11.4

References 3

GitHub · bitbonsai/mcpvault