CVE-2025-53109 Model Context Protocol Servers Vulnerable to Path Validation Bypass via Prefix Matching and Symlink Handling
HighCVSS 7.3
EPSS 0.77%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| modelcontextprotocol @modelcontextprotocol/server-filesystem(npm) | <= 0.6.2; >= 2025.1.14, < 2025.7.1 | 2025.7.1 | Fixed |
| modelcontextprotocol servers | = < 0.6.4; = < 2025.7.01 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| modelcontextprotocol @modelcontextprotocol/server-filesystem(npm) | <= 0.6.2 | No fix listed |
| modelcontextprotocol @modelcontextprotocol/server-filesystem(npm) | >= 2025.1.14, < 2025.7.1 | 2025.7.1 |
| modelcontextprotocol servers | = < 0.6.4 | No fix listed |
| modelcontextprotocol servers | = < 2025.7.01 | No fix listed |
References
- https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-q66q-fx2p-7w4m vendor-advisory
- https://github.com/modelcontextprotocol/servers/commit/d00c60df9d74dba8a3bb13113f8904407cda594f patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product