CVE-2025-53109

Model Context Protocol Servers Vulnerable to Path Validation Bypass via Prefix Matching and Symlink Handling

Published Jul 2, 2025 CVSS 4.0 · 7.3 High EPSS < 1% KEV · Not listed
Description
Model Context Protocol Servers is a collection of reference implementations for the model context protocol (MCP). Versions of Filesystem prior to 0.6.4 or 2025.7.01 could allow access to unintended files via symlinks within allowed directories. Users are advised to upgrade to 0.6.4 or 2025.7.01 resolve.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-19730 @modelcontextprotocol/server-filesystem allows for path validation bypass via prefix matching and symlink handling
Github GHSA Github GHSA GHSA-q66q-fx2p-7w4m @modelcontextprotocol/server-filesystem allows for path validation bypass via prefix matching and symlink handling
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00136}

epss

{'score': 0.00139}

Type Values Removed Values Added
Metrics epss

{'score': 0.00082}

epss

{'score': 0.00136}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Model Context Protocol Servers is a collection of reference implementations for the model context protocol (MCP). Versions of Filesystem prior to 0.6.4 or 2025.7.01 could allow access to unintended files via symlinks within allowed directories. Users are advised to upgrade to 0.6.4 or 2025.7.01 resolve.
Title Model Context Protocol Servers Vulnerable to Path Validation Bypass via Prefix Matching and Symlink Handling
Weaknesses CWE-59
References
Metrics cvssV4_0

{'score': 7.3, 'vector': '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'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 2, 2025, 2:50 PM
Reserved
Jun 25, 2025, 1:41 PM
Status
Deferred
Published
Jul 2, 2025, 3:15 PM
Modified
Jun 17, 2026, 9:37 AM