Free AI Safety Workshop — in collaboration with explainx.aiSave your seat
AgentbeamBeta
AI agent vulnerability · MCP reference servers

CVE-2025-53110: @modelcontextprotocol/server-filesystem vulnerability allows for path validation bypass via colliding path prefix

highCVSS 4.0 7.3GHSA-hc55-p739-j48w

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.

Published Jul 1, 2025 · Updated Jul 2, 2025

Affected packages

@modelcontextprotocol/server-filesystem

Ecosystem
npm
Affected
<= 0.6.2
Fixed in
No patched version yet
Check
npm ls @modelcontextprotocol/server-filesystem

@modelcontextprotocol/server-filesystem

Ecosystem
npm
Affected
>= 2025.1.14, < 2025.7.1
Fixed in
2025.7.1
Check
npm ls @modelcontextprotocol/server-filesystem

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More MCP reference servers vulnerabilities

All MCP reference servers entries