Vulnerability 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.
Related Weaknesses (CWE)
References
- https://github.com/bitbonsai/mcpvault/commit/0adb43901e1a08e85e14b42a8df2442fabc
- https://github.com/bitbonsai/mcpvault/commit/b9ea91a1c6d6adfec3e9e0483d9d79669e9
- https://github.com/bitbonsai/mcpvault/security/advisories/GHSA-j99q-93c9-h869
FAQ
What is CVE-2026-57441?
CVE-2026-57441 is a documented vulnerability. 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-sens...
How severe is CVE-2026-57441?
CVSS scoring is not yet available for CVE-2026-57441. Check NVD for updates.
Is there a patch for CVE-2026-57441?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.