Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @bitbonsai/mcpvault
  4. ›
  5. GHSA-9c83-rr99-vfwj

GHSA-9c83-rr99-vfwj: MCPVault: PathFilter restricted directories (.git/.obsidian/node_modules) only denied at vault root, not nested

June 19, 2026

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

References

  • github.com/advisories/GHSA-9c83-rr99-vfwj
  • github.com/bitbonsai/mcpvault/security/advisories/GHSA-9c83-rr99-vfwj

Code Behaviors & Features

Detect and mitigate GHSA-9c83-rr99-vfwj with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.11.5

Fixed versions

  • 0.11.5

Solution

Upgrade to version 0.11.5 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-538: Insertion of Sensitive Information into Externally-Accessible File or Directory

Source file

npm/@bitbonsai/mcpvault/GHSA-9c83-rr99-vfwj.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:39 +0000.