CVE-2026-57441: MCPVault PathFilter Restricted-directory Deny-list Bypass Vulnerability

MODERATE
Advisory Identifier: GHSA-j99q-93c9-h869
CWE-41 CWE-178
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2026-57441
GHSA Identifier GHSA-j99q-93c9-h869
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-41: Improper Resolution of Path Equivalence
Affected Product MCPVault
Package Ecosystem npm
Published Date
Last Updated

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.

@bitbonsai/mcpvault fixed: 0.11.4
npm install @bitbonsai/mcpvault@0.11.4
Verify Direct and Transitive Dependencies

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

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.

CVE-2026-57441 Affected MCPVault Versions

1 component(s)
Fixed Versions:
0.11.4
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?
CVE-2026-57441 is a security vulnerability in MCPVault involving PathFilter restricted-directory deny-list bypass via case and trailing dot/space equivalence under CWE-41: Improper Resolution of Path Equivalence.
Which MCPVault versions are affected?
Affected versions include releases prior to 0.11.4 across affected packages: @bitbonsai/mcpvault.
What version fixes CVE-2026-57441?
Upgrading to 0.11.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @bitbonsai/mcpvault affected?
Yes, @bitbonsai/mcpvault is affected in releases prior to 0.11.4. Upgrade your dependency to 0.11.4 or later.
What CWE is associated with CVE-2026-57441?
CVE-2026-57441 is classified under CWE-41: Improper Resolution of Path Equivalence (The product is vulnerable to file system contents disclosure through path equivalence. Path equivalence involves the use of special characters in file and directory names. The associated manipulations are intended to generate multiple names for the same object.).
How can I check npm dependencies for CVE-2026-57441?
Run the dependency tree command: 'npm ls @bitbonsai/mcpvault'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}