{"id":"CVE-2025-53110","published":"2025-07-02T14:30:39Z","modified":"2025-07-02T15:13:59Z","title":"Model Context Protocol Servers Vulnerable to Path Validation Bypass via Colliding Path Prefix","vendor":"modelcontextprotocol","product":"servers","tier":"tail","description":{"text":"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 in cases where the prefix matches an allowed directory. Users are advised to upgrade to 0.6.4 or 2025.7.01 resolve.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0078,"percentile":0.52369,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-hc55-p739-j48w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/modelcontextprotocol/servers/commit/cc99bdabdcad93a58877c5f3ab20e21d4394423d","tags":["x_refsource_MISC"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":10.47},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"modelcontextprotocol","affectedVersions":[{"vendor":"modelcontextprotocol","product":"servers","versions":["< 0.6.4","< 2025.7.01"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-02T15:06:27.413855Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@modelcontextprotocol/server-filesystem","vulnerableRanges":["<=0.6.2",">=2025.1.14, <2025.7.1"],"patched":["2025.7.1"],"from":["GHSA-hc55-p739-j48w"],"provenance":"source"}],"summary":{"text":"The Filesystem component of the Model Context Protocol Servers project, a collection of reference MCP implementations, contains a path validation flaw that causes it to treat a path as permitted whenever it shares a prefix with an allowed directory. An attacker who can reach the server and get a user to interact with it can use this to access files outside the intended directories, provided no authentication is required and the attack is carried out through a path whose prefix collides with an allowed one.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:52Z"},"euvd":{"id":"EUVD-2025-19727","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-modelcontextprotocol-servers-cve-2025-53109","parents":[{"from":"CVE-2025-53109","to":"CVE-2025-53110","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/filesystem/index.ts","src/filesystem/path-validation.ts"],"commits":["https://github.com/modelcontextprotocol/servers/commit/d00c60df9d74dba8a3bb13113f8904407cda594f","https://github.com/modelcontextprotocol/servers/commit/cc99bdabdcad93a58877c5f3ab20e21d4394423d"],"basis":"shared function","functions":["applyFileEdits","expandHome","setRequestHandler","validatePath"]}]}]}}