Advisory

GHSA-q66q-fx2p-7w4m

Also known as: CVE-2025-53109

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-07-01 20:13 UTC
Modified
2025-07-02 18:56 UTC

Affected packages and fixes

@modelcontextprotocol/server-filesystem

npm · All systems

Affected

  • introduced 0, last affected 0.6.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

@modelcontextprotocol/server-filesystem

npm · All systems

Affected

  • introduced 2025.1.14, fixed 2025.7.1 (semver)

Fixed versions

2025.7.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences