high7.3
CVE-2025-53110
@modelcontextprotocol/server-filesystem vulnerability allows for path validation bypass via colliding path prefix
Impact
Versions of Filesystem prior to 0.6.3 & 2025.7.1 could allow access to unintended files in cases where the prefix matches an allowed directory. Users are advised to upgrade to 2025.7.1 to resolve the issue. Thank you to Elad Beber (Cymulate) for reporting these issues.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @modelcontextprotocol/server-filesystem | <= 0.6.2 | none recorded |
Affected products
| Product | Affected versions |
|---|---|
| Filesystem | before 0.6.4 |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/modelcontextprotocol/servers/commit/cc99bdabdcad93a58877c5f3ab20e21d4394423d
- https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-hc55-p739-j48w
- https://github.com/advisories/GHSA-hc55-p739-j48w
- https://nvd.nist.gov/vuln/detail/CVE-2025-53110