Skip to content
MediumVulnerabilityLLM-specific

CVE-2026-57442: MCPVault path filter bypass in nested .git and .obsidian directories

Identifier
CVE-2026-57442
Published
Record updated
View JSON
Affected
  • @bitbonsai/mcpvault < 0.11.5
Fixed in
0.11.5
  • released June 18, 2026, 89 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

MCPVault, a Model Context Protocol server for accessing files in an Obsidian vault, uses root-anchored deny-list patterns in PathFilter (src/pathfilter.ts) prior to 0.11.5. Nested .git, .obsidian, and node_modules path segments therefore pass isAllowed() and isAllowedForListing(). An attacker who influences a path chosen by an AI agent can read nested repository or Obsidian metadata, such as remote URLs or embedded tokens, or pollute the listAllTags index with nested node_modules content.

Mitigation

Fixed in 0.11.5.