CVE-2025-53109
HIGH 7.3CVSS 4.0@modelcontextprotocol/server-filesystem allows for path validation bypass via prefix matching and symlink handling
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.
- Published
- 2 Jul 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-59
- Also known as
- GHSA-q66q-fx2p-7w4m
- Sources
- NVDJSONOSV GHSA-q66q-fx2p-7w4mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @modelcontextprotocol/server-filesystem | <= 0.6.2 | |
| OSV | npm | @modelcontextprotocol/server-filesystem | >= 2025.1.14, < 2025.7.1 | 2025.7.1 |
References
- https://github.com/modelcontextprotocol/servers/commit/d00c60df9d74dba8a3bb13113f8904407cda594f · WEB
- https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-q66q-fx2p-7w4m · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-53109 · ADVISORY
- https://github.com/modelcontextprotocol/servers · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 2 Jul 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Jul 2025)