CVE-2026-57442
published medium CVSS 4.0 · 6.9MCPVault: PathFilter restricted directories (.git/.obsidian/node_modules) only denied at vault root, not nested
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| bitbonsai | — | mcpvault< 0.11.5 | 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.5, PathFilter in src/pathfilter.ts uses root-anchored deny-list patterns, so nested .git, .obsidian, and node_modules path segments do not match the restriction and pass both isAllowed() and isAllowedForListing(). An attacker who influences a path selected by an AI agent can traverse nested repository or Obsidian metadata, read remote URLs or embedded tokens, or cause nested node_modules content to pollute the listAllTags index. This issue is fixed in version 0.11.5.
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
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/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.5 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-538 CWE-538: Insertion of Sensitive Information into Externally-Accessible File or Directory
References
4Provider assertions
2GitHub_M · cna
MCPVault: PathFilter restricted directories (.git/.obsidian/node_modules) only denied at vault root, not nested
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 85c3b95fa2bc24679c5e7835f2004fd487a0664ce76f03a81c7c984af1deac41
- Ingested
- 23 Sep 2026, 09:21:43 UTC
- Source record
- Official CVE record