MCPVault: PathFilter restricted-directory deny-list bypass via case and trailing dot/space equivalence
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| bitbonsai | mcpvault | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Bitbonsai | Mcpvault |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-j99q-93c9-h869 | MCPVault: PathFilter restricted-directory deny-list bypass via case and trailing dot/space equivalence |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.202% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Bitbonsai
Bitbonsai mcpvault |
|
| Vendors & Products |
Bitbonsai
Bitbonsai mcpvault |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | MCPVault: PathFilter restricted-directory deny-list bypass via case and trailing dot/space equivalence | |
| Weaknesses | CWE-178 CWE-41 |
|
| References |
| |
| Metrics |
cvssV4_0
|