# CVE-2026-57441: MCPVault: PathFilter restricted-directory deny-list bypass via case and trailing dot/space equivalence

- Severity: High 8.4 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:L/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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-06-18T14:30:43.000Z
- Modified: 2026-09-30T17:51:56.193Z
- Also known as: GHSA-j99q-93c9-h869
- Weaknesses: CWE-41, CWE-178
- SSVC (CISA-ADP): exploitation none, 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.4, PathFilter in src/pathfilter.ts compiles restricted-directory patterns case-sensitively and compares paths without canonicalizing filesystem-equivalent segment names. On case-insensitive macOS and Windows filesystems, case variants of .git, .obsidian, or node_modules pass both isAllowed() and isAllowedForListing() even though the operating system opens the restricted directory, and Windows trailing dots or spaces provide the same bypass. An attacker who influences a path selected by an AI agent can use the bypass in read, write, move, search, or listing operations to expose or modify sensitive repository and Obsidian metadata. Vault-root .. containment is not affected. This issue is fixed in version 0.11.4.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:4.0 8.4 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:L/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:L/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/bitbonsai/mcpvault/security/advisories/GHSA-j99q-93c9-h869> (web)
- <https://github.com/bitbonsai/mcpvault/commit/0adb43901e1a08e85e14b42a8df2442fabc0b64a>
- <https://github.com/bitbonsai/mcpvault/commit/b9ea91a1c6d6adfec3e9e0483d9d79669e927fa8>
- <https://github.com/bitbonsai/mcpvault> (package)

## Sources

- CVE List: [CVE-2026-57441](https://www.cve.org/CVERecord?id=CVE-2026-57441), CVE Terms of Use, modified 2026-09-15
- GitHub Advisory Database: [GHSA-j99q-93c9-h869](https://github.com/advisories/GHSA-j99q-93c9-h869), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2026-57441](https://nvd.nist.gov/vuln/detail/CVE-2026-57441), Public domain, modified 2026-09-30

---

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