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 package | Versions | Reported by |
|---|---|---|
| modelcontextprotocol servers | < 0.6.4, < 2025.7.01 | CVE List |
| @modelcontextprotocol/server-filesystem (npm) | up to 0.6.2, from 2025.1.14 before 2025.7.1 | GitHub Advisory Database |
All scores
| GitHub_M | 7.3high CVSS:4.0 | 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 |
| GitHub | high CVSS:4.0 | 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 |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-53109 changed 2025-07-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-q66q-fx2p-7w4m changed 2025-07-02 | CC-BY-4.0 |
| NVD | CVE-2025-53109 changed 2026-06-17 | Public domain |