Advisory

GHSA-9c83-rr99-vfwj

Also known as: CVE-2026-57442

Summary

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

Details

PathFilter's deny-list glob patterns are anchored, so .git, .obsidian, and node_modules were only blocked at the vault root. Nested copies inside the vault (e.g. tools/cli/node_modules/..., tools/somerepo/.git/config, a nested .obsidian/) were fully traversable via isAllowed/isAllowedForListing. Impact: a nested .git/config (remote URLs / embedded tokens) and nested .obsidian contents could be read, under the same prompt-injection threat model as GHSA-j99q-93c9-h869 (an attacker influences the path an agent reads). It also caused nested node_modules to pollute the tag index (#128, the public symptom). Fixed in 0.11.5 by denying these restricted names at any path depth (matched case-insensitively as any path segment).

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-06-19 21:42 UTC
Modified
2026-07-20 21:56 UTC

Affected packages and fixes

@bitbonsai/mcpvault

npm · All systems

Affected

  • introduced 0, fixed 0.11.5 (semver)

Fixed versions

0.11.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences