{"id":"CVE-2026-57441","published":"2026-09-15T17:49:10Z","modified":"2026-09-15T19:43:58Z","title":"MCPVault: PathFilter restricted-directory deny-list bypass via case and trailing dot/space equivalence","vendor":"bitbonsai","product":"mcpvault","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00202,"percentile":0.10259,"provenance":"source"},"cwes":[{"id":"CWE-41","name":"Improper Resolution of Path Equivalence"},{"id":"CWE-178","name":"Improper Handling of Case Sensitivity"}],"references":[{"url":"https://github.com/bitbonsai/mcpvault/security/advisories/GHSA-j99q-93c9-h869","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bitbonsai/mcpvault/commit/0adb43901e1a08e85e14b42a8df2442fabc0b64a","tags":["x_refsource_MISC"]},{"url":"https://github.com/bitbonsai/mcpvault/commit/b9ea91a1c6d6adfec3e9e0483d9d79669e927fa8","tags":["x_refsource_MISC"]}],"priority":{"score":7.9,"factors":[{"name":"EPSS percentile","points":2.05},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"bitbonsai","affectedVersions":[{"vendor":"bitbonsai","product":"mcpvault","versions":["< 0.11.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-15T18:57:31.418875Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@bitbonsai/mcpvault","vulnerableRanges":["<0.11.4"],"patched":["0.11.4"],"from":["GHSA-j99q-93c9-h869"],"provenance":"source"}],"summary":{"text":"MCPVault's PathFilter component (src/pathfilter.ts) in versions before 0.11.4 matches restricted-directory patterns such as .git, .obsidian, and node_modules case-sensitively and does not canonicalize equivalent path segment names. An attacker who can influence a path an AI agent selects can read, write, move, search, or list sensitive repository and Obsidian metadata by using case variants or, on Windows, trailing dots or spaces, with local access and user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:09Z"},"euvd":{"id":"EUVD-2026-79125","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-57441","published":"2026-09-15","fixed":"0.11.4","kev":false},{"cve":"CVE-2026-57442","published":"2026-09-15","fixed":"0.11.5","kev":false,"link":{"from":"CVE-2026-57441","to":"CVE-2026-57442","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@bitbonsai/mcpvault","fromFixed":"0.11.4","toFixed":"0.11.5","daysApart":0},{"kind":"similar","provenance":"machine","score":0.62,"basis":"same product + description similarity"}]}}],"package":"npm:@bitbonsai/mcpvault"}}