Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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