{"id":"CVE-2026-57441","aliases":["GHSA-j99q-93c9-h869"],"url":"https://o3.security/vulnerability/CVE-2026-57441","summary":"MCPVault: PathFilter restricted-directory deny-list bypass via case and trailing dot/space equivalence","details":"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.","published":"2026-09-15T17:49:10.118Z","modified":"2026-10-21T02:58:45.059957926Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"@bitbonsai/mcpvault","fixedVersion":"0.11.4"}],"fix":{"url":"https://github.com/bitbonsai/mcpvault/commit/0adb43901e1a08e85e14b42a8df2442fabc0b64a","label":"bitbonsai/mcpvault@0adb439"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57441.json"},{"type":"ADVISORY","url":"https://github.com/bitbonsai/mcpvault/security/advisories/GHSA-j99q-93c9-h869"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57441"},{"type":"FIX","url":"https://github.com/bitbonsai/mcpvault/commit/0adb43901e1a08e85e14b42a8df2442fabc0b64a"},{"type":"FIX","url":"https://github.com/bitbonsai/mcpvault/commit/b9ea91a1c6d6adfec3e9e0483d9d79669e927fa8"},{"type":"PACKAGE","url":"https://github.com/bitbonsai/mcpvault"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-21T02:58:45.059957926Z"}}