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

- Severity: High 7.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Published: 2025-07-01T20:13:56.000Z
- Modified: 2026-06-17T09:37:38.537Z
- Also known as: GHSA-q66q-fx2p-7w4m
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- modelcontextprotocol servers: < 0.6.4; < 2025.7.01
- @modelcontextprotocol/server-filesystem (npm): up to 0.6.2; from 2025.1.14 before 2025.7.1

## Every score

- GitHub_M: CVSS:4.0 7.3 High `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`
- GitHub: CVSS:4.0 High `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

- <https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-q66q-fx2p-7w4m> (web)
- <https://github.com/modelcontextprotocol/servers/commit/d00c60df9d74dba8a3bb13113f8904407cda594f> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-53109> (advisory)
- <https://github.com/modelcontextprotocol/servers> (package)

## Sources

- CVE List: [CVE-2025-53109](https://www.cve.org/CVERecord?id=CVE-2025-53109), CVE Terms of Use, modified 2025-07-02
- GitHub Advisory Database: [GHSA-q66q-fx2p-7w4m](https://github.com/advisories/GHSA-q66q-fx2p-7w4m), CC-BY-4.0, modified 2025-07-02
- NVD: [CVE-2025-53109](https://nvd.nist.gov/vuln/detail/CVE-2025-53109), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-53109 · Whole record: https://cve.day/CVE-2025-53109.json · Rebuilt by cve.day 2026-11-25T22:59:00.484Z
