{"id":"GHSA-9c83-rr99-vfwj","revision":"35cd8df49115454286024537cbcdc8b6","records":[{"revision":"35cd8df49115454286024537cbcdc8b6","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-9c83-rr99-vfwj","aliases":["CVE-2026-57442"],"title":"MCPVault: PathFilter restricted directories (.git/.obsidian/node_modules) only denied at vault root, not nested","description":"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).","state":0,"publishedAt":"2026-06-19T21:42:24+00:00","modifiedAt":"2026-07-20T21:56:45.025308+00:00","affected":[{"ecosystem":"npm","name":"@bitbonsai/mcpvault","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.11.5"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/bitbonsai/mcpvault/security/advisories/GHSA-9c83-rr99-vfwj","https://github.com/bitbonsai/mcpvault"],"sourceUrl":"https://github.com/advisories/GHSA-9c83-rr99-vfwj","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-9c83-rr99-vfwj","identifiers":["GHSA-9c83-rr99-vfwj","CVE-2026-57442"]},"retained":false,"historicalAffected":[]}],"coverage":[]}