← All advisories
CVE-2025-53109highBroken access control2025-07-01

CVE-2025-53109: @modelcontextprotocol/server-filesystem allows for path validation bypass via prefix matching and symlink handling

Versions of Filesystem prior to 0.6.3 & 2025.7.1 could allow access to unintended files via symlinks within allowed directories. Users are advised to upgrade to 2025.7.1 to resolve.

01.

What it is

Versions of Filesystem prior to 0.6.3 & 2025.7.1 could allow access to unintended files via symlinks within allowed directories. Users are advised to upgrade to 2025.7.1 to resolve.

02.

How to check

  1. Affected: @modelcontextprotocol/server-filesystem (npm) <= 0.6.2.
  2. Affected: @modelcontextprotocol/server-filesystem (npm) >= 2025.1.14, < 2025.7.1.
  3. Compare your installed version with the range above (command below).
03.

How to fix

  1. No patched version of @modelcontextprotocol/server-filesystem is listed yet. Follow the advisory for mitigations.
  2. Upgrade @modelcontextprotocol/server-filesystem to 2025.7.1 or later.
npm ls @modelcontextprotocol/server-filesystem
04.

Sources

More advisories for this tool
The weekly email

One email a week. Only what changed.

New advisories, CVEs and fixes for Lovable, Bolt, v0, Replit, Base44 and Cursor apps. No roundups of things you already read.

Free. The list is new, so the first issues go out once there are readers. Unsubscribe from any email in one click. We never sell or share addresses.