{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-57442","id":"CVE-2026-57442","title":"MCPVault: PathFilter restricted directories (.git/.obsidian/node_modules) only denied at vault root, not nested","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 travers","descriptionLong":"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.","published":"2026-09-15T17:50:48.077Z","updated":"2026-10-28T02:30:29.686478693Z","reserved":"2026-06-24T13:21:20.729Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["bitbonsai mcpvault"],"affectedProducts":[{"vendor":"bitbonsai","product":"mcpvault","defaultStatus":null,"versions":[{"version":"< 0.11.5","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@bitbonsai/mcpvault","purl":"pkg:npm/%40bitbonsai/mcpvault","ranges":["<0.11.5"],"fixed":["0.11.5"],"advisory":"GHSA-9c83-rr99-vfwj"}],"cwes":["CWE-22","CWE-538"],"aliases":["GHSA-9c83-rr99-vfwj"],"references":[{"url":"https://github.com/bitbonsai/mcpvault/security/advisories/GHSA-9c83-rr99-vfwj","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/bitbonsai/mcpvault/issues/128","tags":["x_refsource_MISC","exploit","report"]},{"url":"https://github.com/bitbonsai/mcpvault/commit/0adb43901e1a08e85e14b42a8df2442fabc0b64a","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/bitbonsai/mcpvault/commit/8795716b90d1c4090a82a58647e030763513f17e","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57442.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57442","tags":["advisory"]},{"url":"https://github.com/bitbonsai/mcpvault","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00192,"epssPercentile":0.08932,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-57442","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57442","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-57442","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9c83-rr99-vfwj","ok":true,"note":"GHSA-9c83-rr99-vfwj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-57442","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}