CVE-2026-57441
published high CVSS 4.0 · 8.4MCPVault: PathFilter restricted-directory deny-list bypass via case and trailing dot/space equivalence
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| bitbonsai | — | mcpvault< 0.11.4 | Affected | Not stated | GitHub_M |
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 advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| bitbonsai | mcpvault | < 0.11.4 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-41 CWE-41: Improper Resolution of Path Equivalence
- CWE-178 CWE-178: Improper Handling of Case Sensitivity
References
3Provider assertions
2GitHub_M · cna
MCPVault: PathFilter restricted-directory deny-list bypass via case and trailing dot/space equivalence
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5b937b8eb8048a3a0e18e295154b3032ceb0b360d3fc9a1f1d0ac585b54d9507
- Ingested
- 23 Sep 2026, 09:21:43 UTC
- Source record
- Official CVE record