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

Medium 6.9 Published Updated

An attacker can bypass path restrictions to read sensitive nested files like .git or .obsidian metadata in MCPVault.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-57442?

CVE-2026-57442 is a medium-severity path traversal vulnerability in bitbonsai mcpvault, published on 15 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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

Weakness: CWE-538, CWE-22

Which versions are affected by CVE-2026-57442?

2 open source packages ship an affected version, including @bitbonsai/mcpvault.

PackageAffectedFixed in
@bitbonsai/mcpvault npmAll versions0.11.5
@bitbonsai/mcpvault npmAll versions0.11.5

How do I fix CVE-2026-57442?

Upgrade @bitbonsai/mcpvault to 0.11.5 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-57442 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-57442 exists.

Sources

Also known as GHSA-9c83-rr99-vfwj.

Is CVE-2026-57442 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free