{"answers":{"affected":"4 open source packages ship an affected version, including @modelcontextprotocol/server-filesystem.","exploited":"There is no known exploitation of CVE-2025-53110 in the wild and no public exploit code.","fix":"Upgrade @modelcontextprotocol/server-filesystem to 2025.7.1 or later.","what":"CVE-2025-53110 is a high-severity path traversal vulnerability in modelcontextprotocol servers, published on 2 Jul 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-53110 and fix it if it is affected.\n\nWhat it is: CVE-2025-53110 is a high-severity path traversal vulnerability in modelcontextprotocol servers, published on 2 Jul 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-53110 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @modelcontextprotocol/server-filesystem (npm): affected all versions up to 0.6.2; no fix listed\n- @modelcontextprotocol/server-filesystem (npm): affected all versions up to 0.6.2; no fix listed\n- @modelcontextprotocol/server-filesystem (npm): affected from 2025.1.14; fixed in 2025.7.1\n- @modelcontextprotocol/server-filesystem (npm): affected from 2025.1.14; fixed in 2025.7.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-53110/ (Markdown: https://insights.sbomify.com/CVE-2025-53110/index.md)","id":"CVE-2025-53110","markdown":"https://insights.sbomify.com/CVE-2025-53110/index.md","name":"CVE-2025-53110","record":{"aliases":["GHSA-hc55-p739-j48w"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"MCP filesystem server","requires_auth":"none","summary":"Attackers can bypass path validation to access unintended files in the Model Context Protocol filesystem server.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.3,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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 in cases where the prefix matches an allowed directory. Users are advised to upgrade to 0.6.4 or 2025.7.01 resolve.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Model Context Protocol Servers Vulnerable to Path Validation Bypass via Colliding Path Prefix","id":"CVE-2025-53110","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":4,"n_references":2,"next":{"headline":"GLPI exposes data to non-allowed users","id":"CVE-2025-53111"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["0.6.2"],"package":"@modelcontextprotocol/server-filesystem","purl":null,"source":"GHSA-hc55-p739-j48w"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["0.6.2"],"package":"@modelcontextprotocol/server-filesystem","purl":"pkg:npm/%40modelcontextprotocol/server-filesystem","source":"GHSA-hc55-p739-j48w"},{"ecosystem":"npm","fixed":["2025.7.1"],"introduced":["2025.1.14"],"last_affected":[],"package":"@modelcontextprotocol/server-filesystem","purl":null,"source":"GHSA-hc55-p739-j48w"},{"ecosystem":"npm","fixed":["2025.7.1"],"introduced":["2025.1.14"],"last_affected":[],"package":"@modelcontextprotocol/server-filesystem","purl":"pkg:npm/%40modelcontextprotocol/server-filesystem","source":"GHSA-hc55-p739-j48w"}],"prev":{"headline":"Model Context Protocol Servers Vulnerable to Path Validation Bypass via Prefix Matching and Symlink Handling","id":"CVE-2025-53109"},"products":["servers"],"published":"2025-07-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-07-02","vendors":["modelcontextprotocol"]},"summary":"Attackers can bypass path validation to access unintended files in the Model Context Protocol filesystem server.","url":"https://insights.sbomify.com/CVE-2025-53110/"}