@modelcontextprotocol/server-filesystem | High || Field | Value |
|---|---|
| CVE / NVD | CVE-2025-53109 |
| EPSS score | 0.006940000 (FIRST EPSS, 2026-06-30) |
| Date (index) | 2025-07-02 |
| Affected product (index) | Filesystem MCP Server (@modelcontextprotocol/server-filesystem) (symlink containment bypass) |
| GHSA ID | GHSA-q66q-fx2p-7w4m |
| OWASP MCP Top 10 (2025) | MCP02 — Privilege Escalation via Scope Creep |
| Published / disclosed | 2025-07-01 |
| Ecosystem | npm |
| Component | @modelcontextprotocol/server-filesystem |
| CVSS score | 7.3 HIGH CVSS v4.0 (NVD) |
| CWE | CWE-22 / CWE-61 |
| Affected versions | < 0.6.4 / < 2025.7.01 |
| Fixed versions | 0.6.4 / 2025.7.01 |
| Fix status | Patched |
| Exploit status | Public educational demos |
| Notes | Breaks filesystem sandbox assumptions; MCP tool blast radius depends on filesystem scope. |
Breaks filesystem sandbox assumptions.
The attacker needs control over path, repository, or file arguments reaching the affected tool call. In MCP environments this often becomes reachable through prompt-influenced tool arguments, shared configs, or directly exposed tool endpoints.
Symlink bypass inside allowed directories
Breaks filesystem sandbox assumptions. The impact is amplified when the server has broad filesystem or repository access.
Exact file/function details are not yet captured in the repository source set. Use the advisory and upstream fix link above as the starting point for source-level pinpointing.
Add the vulnerable file/function name and a minimal before/after snippet here once the patch commit is linked.
The patch adds canonical path validation, symlink-aware containment checks, or explicit repository boundary enforcement before executing the affected tool action.
0.6.4 / 2025.7.01 or later as the primary remediation.< 0.6.4 / < 2025.7.01... segments, symlink targets, or repository paths that fall outside the intended workspace.