modelcontextprotocol/servers · Security

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

GHSA ID
GHSA-q66q-fx2p-7w4m
CVE ID
CVE-2025-53109
Severity
high
Published
Updated
CVSS v4
7.3 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:H/SI:H/SA:H

Description

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.

Thank you to Elad Beber (Cymulate) for reporting these issues.

CWEs

References