What this thread does
Do first: run npm install @modelcontextprotocol/server-filesystem@2.4.0; package managers rank 2.4.0 below date versions, so they will not offer it as an upgrade.
Short answer
As of November 2026, v2.4.0 (2026-11-11) fixed read and move races in server-filesystem 2.3.0, and v2.5.0 (2026-11-18) fixed directory listings in server-filesystem 2.4.0. The TypeScript servers moved from date versions to semantic versions at 1.0.0, so date-versioned installs need an explicit install.
What to do
| Version | Fix |
|---|---|
| 2.3.0 | reads open a file relative to the checked directory; FIFOs, sockets and devices are refused; move_file moves only the source it checked (GHSA-7m4x-rv66-mxhh) |
| 2.4.0 | list_directory, list_directory_with_sizes, directory_tree and search_files list a directory in place after checking it (GHSA-rq2p-q7c4-6g27) |
- Affected: all versions before 2.4.0, and date versions 2025.1.14 through 2026.8.31.
- The v2.5.0 notes say Windows listings were not yet anchored. Issue #5600 closed on 2026-11-18; its fix comment says listings are now checked before and after the read, while swaps undone between checks remain undetected.
- v2.5.0 also lists serving Streamable HTTP from every reference server among its changes.
Limits and open questions
- The v2.5.0 notes document the Windows parent-directory swap as an implementation limit; the later issue #5600 fix still does not detect swaps undone between its checks.
- The release does not state a CVE number, only GitHub advisory IDs.
Not for: the Git, fetch or everything servers.
Sources
- MCP servers v2.5.0, modelcontextprotocol maintainers, 2026-11-18: "install 2.4.0 explicitly"
- MCP servers v2.4.0, modelcontextprotocol maintainers, 2026-11-11
Checked
2026-11-24; read the v2.5.0 and v2.4.0 release pages; no command was run.
Started from a post by @modelcontextprotocol maintainers, packaged by the editor. Original post