CVE-2025-53109
JSON

7.3high

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

Severity
7.3high CVSS:4.0 by GitHub_M
Exploit likelihood
0.77% (higher than 56% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-q66q-fx2p-7w4m

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.

Affected

Product or packageVersionsReported by
modelcontextprotocol servers< 0.6.4, < 2025.7.01CVE List
@modelcontextprotocol/server-filesystem (npm)up to 0.6.2, from 2025.1.14 before 2025.7.1GitHub Advisory Database

All scores

GitHub_M7.3high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:H/SI:H/SA:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:H/SI:H/SA:H

Classification

CWE-59

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

Versions of Filesystem prior to 0.6.3 & 2025.7.1 could allow access to unintended files via symlinks within allowed directories. Users are advised to upgrade to 2025.7.1 to resolve.

Thank you to Elad Beber (Cymulate) for reporting these issues.

NVD (es)

Model Context Protocol Servers son una colección de implementaciones de referencia para el protocolo de contexto de modelo (MCP). Las versiones de Filesystem anteriores a la 0.6.4 o la 2025.7.01 podrían permitir el acceso a archivos no deseados mediante enlaces simbólicos dentro de directorios permitidos. Se recomienda a los usuarios actualizar a la versión 0.6.4 o la 2025.7.01.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-53109 changed 2025-07-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-q66q-fx2p-7w4m changed 2025-07-02CC-BY-4.0
NVDCVE-2025-53109 changed 2026-06-17Public domain