{"id":"GHSA-q66q-fx2p-7w4m","summary":"@modelcontextprotocol/server-filesystem allows for path validation bypass via prefix matching and symlink handling","details":"Versions of Filesystem prior to 0.6.3 & 2025.7.1 could allow access to unintended files via symlinks within allowed directories. Users are advised to upgrade to 2025.7.1 to resolve.\n\nThank you to Elad Beber (Cymulate) for reporting these issues.","aliases":["CVE-2025-53109"],"modified":"2025-07-02T18:56:39Z","published":"2025-07-01T20:13:56Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-07-01T20:13:56Z","nvd_published_at":"2025-07-02T15:15:27Z","cwe_ids":["CWE-59"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-q66q-fx2p-7w4m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53109"},{"type":"WEB","url":"https://github.com/modelcontextprotocol/servers/commit/d00c60df9d74dba8a3bb13113f8904407cda594f"},{"type":"PACKAGE","url":"https://github.com/modelcontextprotocol/servers"}],"affected":[{"package":{"name":"@modelcontextprotocol/server-filesystem","ecosystem":"npm","purl":"pkg:npm/%40modelcontextprotocol/server-filesystem"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.6.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-q66q-fx2p-7w4m/GHSA-q66q-fx2p-7w4m.json"}},{"package":{"name":"@modelcontextprotocol/server-filesystem","ecosystem":"npm","purl":"pkg:npm/%40modelcontextprotocol/server-filesystem"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2025.1.14"},{"fixed":"2025.7.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-q66q-fx2p-7w4m/GHSA-q66q-fx2p-7w4m.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}