mcp-cve-project

CVE-2025-53109 | @modelcontextprotocol/server-filesystem | High |

CVE Information

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.

CVE Breakdown


What is the vulnerability?

Breaks filesystem sandbox assumptions.

Attack prerequisites / exposure

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.

CVE is because of what bug?

Symlink bypass inside allowed directories

MCP-specific impact / why it matters

Breaks filesystem sandbox assumptions. The impact is amplified when the server has broad filesystem or repository access.

Where was the bug? (source + snippet)

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.

Fix / Remediation

The patch adds canonical path validation, symlink-aware containment checks, or explicit repository boundary enforcement before executing the affected tool action.

Upstream fix (open source)

Workarounds / mitigations

Detection / verification