npmWorst: High2 advisories

@modelcontextprotocol/server-filesystem: known vulnerabilities

@modelcontextprotocol/server-filesystem has 2 reviewed security advisories in the GitHub Advisory Database — 2 high. The most recent was published 2025-07-02. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the @modelcontextprotocol/server-filesystem versions running across your servers, containers and images, and ranks what to patch first.

How to fix @modelcontextprotocol/server-filesystem

Upgrade @modelcontextprotocol/server-filesystem to a release at or above the fixed version shown for each advisory below. For npm:

npm install @modelcontextprotocol/server-filesystem@2025.7.1 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (2)

@modelcontextprotocol/server-filesystem vulnerability allows for path validation bypass via colliding path prefix High CWE-22 — Affected: from 2025.1.14 up to 2025.7.1. Fixed in 2025.7.1. Published 2025-07-02. GHSA-hc55-p739-j48w · CVE-2025-53110
@modelcontextprotocol/server-filesystem allows for path validation bypass via prefix matching and symlink handling High CWE-59 — Affected: from 2025.1.14 up to 2025.7.1. Fixed in 2025.7.1. Published 2025-07-02. GHSA-q66q-fx2p-7w4m · CVE-2025-53109

Find @modelcontextprotocol/server-filesystem across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.