HIGH
GHSA-hc55-p739-j48w
@modelcontextprotocol/server-filesystem vulnerability allows for path validation bypass via colliding path prefix
Quick fix
GHSA-hc55-p739-j48w — @modelcontextprotocol/server-filesystem: upgrade to the fixed version with the command below.
npm install @modelcontextprotocol/server-filesystem@2025.7.1Details
Versions of Filesystem prior to 0.6.3 & 2025.7.1 could allow access to unintended files in cases where the prefix matches an allowed directory. Users are advised to upgrade to 2025.7.1 to resolve the issue.
Thank you to Elad Beber (Cymulate) for reporting these issues.
Are you affected?
Enter the version of the package you're using.
Affected packages
npm/@modelcontextprotocol/server-filesystem
Introduced in:
0No fixed version published yet for @modelcontextprotocol/server-filesystem (npm). Pin to a known-safe version or switch to an alternative.
npm/@modelcontextprotocol/server-filesystem
Introduced in:
2025.1.14Fixed in: 2025.7.1Fix
npm install @modelcontextprotocol/server-filesystem@2025.7.1References
- https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-hc55-p739-j48w[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2025-53110[ADVISORY]
- https://github.com/modelcontextprotocol/servers/commit/cc99bdabdcad93a58877c5f3ab20e21d4394423d[WEB]
- https://github.com/modelcontextprotocol/servers[PACKAGE]