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

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-19T21:42:24.000Z
- Modified: 2026-09-30T17:51:56.193Z
- Also known as: GHSA-9c83-rr99-vfwj
- Weaknesses: CWE-22, CWE-538
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- bitbonsai mcpvault: < 0.11.5
- @bitbonsai/mcpvault (npm): before 0.11.5

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/bitbonsai/mcpvault/issues/128> (exploit)
- <https://github.com/bitbonsai/mcpvault/security/advisories/GHSA-9c83-rr99-vfwj> (web)
- <https://github.com/bitbonsai/mcpvault/commit/0adb43901e1a08e85e14b42a8df2442fabc0b64a>
- <https://github.com/bitbonsai/mcpvault/commit/8795716b90d1c4090a82a58647e030763513f17e>
- <https://github.com/bitbonsai/mcpvault> (package)

## Sources

- CVE List: [CVE-2026-57442](https://www.cve.org/CVERecord?id=CVE-2026-57442), CVE Terms of Use, modified 2026-09-16
- GitHub Advisory Database: [GHSA-9c83-rr99-vfwj](https://github.com/advisories/GHSA-9c83-rr99-vfwj), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2026-57442](https://nvd.nist.gov/vuln/detail/CVE-2026-57442), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-57442 · Whole record: https://cve.day/CVE-2026-57442.json · Rebuilt by cve.day 2026-11-25T22:59:38.625Z
