MCP Servers v2.4.0 released with security fixes for three servers

Agents & Dev✍ TextPublished: Source: MCP Servers

#Claude Code

Key point

MCP Servers v2.4.0 has been released, fixing six vulnerabilities across three servers. The affected packages are @modelcontextprotocol/server-filesystem, mcp-server-git, and mcp-server-fetch.

MCP Servers v2.4.0 fixes six vulnerabilities in three servers. Users must upgrade @modelcontextprotocol/server-filesystem to 2.3.0, and mcp-server-git and mcp-server-fetch to 2026.11.11.

In @modelcontextprotocol/server-filesystem, read tools and file resources now open files relative to the checked directory on Linux and macOS. This prevents a directory swapped for a symlink between the access check and the read from returning a file from outside the allowed directories. FIFOs, sockets, or devices are refused instead of read. On Windows, this narrows the race condition but does not close it, similar to writes.

The move_file function now moves only the checked source. For a move within one device, the source is first taken out of its own checked directory under a new name, preventing an outside file from being brought into the allowed directories via a symlink swap. Additionally, in mcp-server-git, a repository's own Git configuration can no longer cause the server to run a program.

This item is a summary. The full, checkable version is at the original source:

Read the original at MCP Servers ↗