~ / search / GHSA-q66q-fx2p-7w4m

GHSA-q66q-fx2p-7w4m

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

Source: GitHub Advisory Database (reviewed) High CVE-2025-53109

Packages

EcosystemPackageAffectedFixed in
npm @modelcontextprotocol/server-filesystem <= 0.6.2 no fix listed
npm @modelcontextprotocol/server-filesystem >= 2025.1.14, < 2025.7.1 2025.7.1

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.