GHSA-9c83-rr99-vfwj

Suggest an improvement
Source
https://github.com/advisories/GHSA-9c83-rr99-vfwj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9c83-rr99-vfwj/GHSA-9c83-rr99-vfwj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9c83-rr99-vfwj
Aliases
Published
2026-06-19T21:42:24Z
Modified
2026-07-20T21:56:45Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
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).

Database specific
{
    "cwe_ids": [
        "CWE-22",
        "CWE-538"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-06-19T21:42:24Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
}
References

Affected packages

npm / @bitbonsai/mcpvault

Package

Name
@bitbonsai/mcpvault
View open source insights on deps.dev
Purl
pkg:npm/%40bitbonsai/mcpvault

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.11.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9c83-rr99-vfwj/GHSA-9c83-rr99-vfwj.json"