CVE-2026-57441: MCPVault PathFilter Restricted-directory Deny-list Bypass Vulnerability
MODERATECVE-2026-57441 is a MODERATE pathfilter restricted-directory deny-list bypass vulnerability (CWE-41: Improper Resolution of Path Equivalence) affecting MCPVault libraries in the npm ecosystem. The issue involves pathfilter restricted-directory deny-list bypass via case and trailing dot/space equivalence. Remediation is available by upgrading affected packages to version 0.11.4.
CVE-2026-57441 at a Glance
How to Fix CVE-2026-57441
To remediate this vulnerability, upgrade all affected MCPVault dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @bitbonsai/mcpvault@0.11.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @bitbonsai/mcpvault
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-57441, inspect your project dependencies using npm:
npm ls @bitbonsai/mcpvault
Analyze the terminal output to locate any version of MCPVault in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.11.4), your application is affected.
Note: The npm ls @bitbonsai/mcpvault command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & RFC 5280 Specification
Under RFC 5280 specifications for X.509 certificates, the Name Constraints extension defines a namespace within which all subsequent subject names in a certification path must be located. Constraints apply to various name forms including directory names, IP addresses, rfc822Name (email addresses), and uniformResourceIdentifier (URI) entries. Specifically, during certificate path validation, affected versions of MCPVault failed to properly normalize or enforce boundary checks when domain names contained trailing dot (.) characters. Because domain names with a trailing dot signify fully qualified domain names (FQDNs), this omission allowed non-conforming certificates to be improperly validated as compliant with the defined name constraints.
Source Advisory Statement
CVE-2026-57441 Affected MCPVault Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@bitbonsai/mcpvault
|
npm |
< 0.11.4
|
0.11.4
|
References
Frequently Asked Questions
What is CVE-2026-57441?
Which MCPVault versions are affected?
What version fixes CVE-2026-57441?
Is @bitbonsai/mcpvault affected?
What CWE is associated with CVE-2026-57441?
How can I check npm dependencies for CVE-2026-57441?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j99q-93c9-h869",
"modified" : "2026-07-20T21:30:52Z",
"published" : "2026-06-18T14:30:43Z",
"aliases" : [ "CVE-2026-57441" ],
"summary" : "MCPVault: PathFilter restricted-directory deny-list bypass via case and trailing dot/space equivalence",
"details" : "On case-insensitive filesystems (macOS, Windows), PathFilter compiled its deny-list patterns case-sensitively and matched the path verbatim, so names like `.Git/config`, `.GIT/config`, or `.oBsIdIaN/secrets.md` slipped past the `.git`/`.obsidian`/`node_modules` restriction while the OS opened the real file. On Windows, trailing dots/spaces (`.git./config`, `.git /config`) bypassed it the same way. Affects both `isAllowed` (read/write/move/search) and `isAllowedForListing`. Vault-root `..` containment is NOT affected. Fixed in 0.11.4 by case-insensitive matching plus per-segment canonicalization before the deny-list check. Reported privately by novice-22.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@bitbonsai/mcpvault"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.11.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/bitbonsai/mcpvault/security/advisories/GHSA-j99q-93c9-h869"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/bitbonsai/mcpvault"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-178", "CWE-41" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-18T14:30:43Z",
"nvd_published_at" : null
}
}