CyberRota Analysis
AI-GeneratedMCPVault versions prior to 0.11.4 are vulnerable on Windows systems due to a flaw in the PathFilter that allows case-insensitive bypass of restricted directories like .git and .obsidian. This vulnerability enables attackers to manipulate file paths, potentially exposing or modifying sensitive metadata within Obsidian vaults. Organizations using MCPVault should prioritize upgrading to version 0.11.4 to mitigate the risk of unauthorized access to sensitive information.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
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.