modelcontextprotocol/servers · Security
@modelcontextprotocol/server-filesystem vulnerability allows for path validation bypass via colliding path prefix
- GHSA ID
- GHSA-hc55-p739-j48w
- CVE ID
- CVE-2025-53110
- 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 in cases where the prefix matches an allowed directory. Users are advised to upgrade to 2025.7.1 to resolve the issue.
Thank you to Elad Beber (Cymulate) for reporting these issues.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')