Vulnerability · Published Jul 2, 2025 · Assigned by GitHub_M

CVE-2025-53109Model Context Protocol Servers Vulnerable to Path Validation Bypass via Prefix Matching and Symlink Handling

High 7.3

In plain English

A high-severity security flaw in servers from modelcontextprotocol. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)7.3High
Exploit odds (30 days)0.8%top 44.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@modelcontextprotocol/server-filesystemno fix listedGHSA-q66q-fx2p-7w4m
npm@modelcontextprotocol/server-filesystem2025.7.1GHSA-q66q-fx2p-7w4m

Affected products (as reported)

VendorProductVersions
modelcontextprotocol servers < 0.6.4< 2025.7.01

Weakness: CWE-59 · Vector: 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

References